mirror of
https://github.com/Team4388/RidgeScout.git
synced 2026-06-09 00:37:59 -06:00
Try something else with the workflow
This commit is contained in:
@@ -2,8 +2,9 @@ name: Build & Publish Release APK
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches: [ "main" ]
|
||||||
- '*'
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Gradle:
|
Gradle:
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
name: Build & Publish Release APK
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Gradle:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: setup jdk
|
|
||||||
uses: actions/setup-java@v1
|
|
||||||
with:
|
|
||||||
java-version: 17
|
|
||||||
- name: Make Gradle executable
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
- name: Build Release APK
|
|
||||||
run: ./gradlew assembleRelease
|
|
||||||
- name: Releasing using Hub
|
|
||||||
uses: sangatdesai/release-apk@main
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
|
||||||
APP_FOLDER: app
|
|
||||||
Reference in New Issue
Block a user