Skip to content

Commit

Permalink
build: fix workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Jun 15, 2024
1 parent f6fdfee commit 7f15501
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
build-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- run: ./gradlew assembleRelease --stacktrace
- run: ./gradlew bundleRelease --stacktrace
- name: Upload APK Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/apk/release/
- name: Upload AAB (App Bundle) Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/bundle/release/
- uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- run: ./gradlew assembleRelease --stacktrace
- run: ./gradlew bundleRelease --stacktrace
- name: Upload APK Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/apk/release/
- name: Upload AAB (App Bundle) Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/bundle/release/
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- run: ./gradlew assembleDebug --stacktrace
- run: ./gradlew test --stacktrace
- uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- run: ./gradlew assembleDebug --stacktrace
- run: ./gradlew test --stacktrace

0 comments on commit 7f15501

Please sign in to comment.