Skip to content

Commit

Permalink
add downloadable unsigned release to workflow action
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Jul 27, 2024
1 parent 234c76b commit 567fd90
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,25 @@ jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Checkout
uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
name: tordroid.zip
path: |
*.apk
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build Unsigned Release APK with Gradle
run: bash ./gradlew assembleRelease --stacktrace

- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: tordroid
path: app/build/outputs/apk/release/*.apk

0 comments on commit 567fd90

Please sign in to comment.