Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBernard03 authored Jul 18, 2024
1 parent 1bde8ec commit 29d4ab9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,17 @@ jobs:
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: ./gradlew assembleRelease bundleRelease --stacktrace

- name: Find APK and AAB files
id: find_files
run: |
APK_PATH=$(find . -name "composeApp-release.apk" | head -n 1)
AAB_PATH=$(find . -name "composeApp-release.aab" | head -n 1)
echo "APK_PATH=$APK_PATH" >> $GITHUB_ENV
echo "AAB_PATH=$AAB_PATH" >> $GITHUB_ENV
- name: Upload APK to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: ${{ env.APK_PATH }}
path: composeApp/release/composeApp-release.apk

- name: Upload AAB to Artifacts
uses: actions/upload-artifact@v3
with:
name: app-release.aab
path: ${{ env.AAB_PATH }}
path: composeApp/release/composeApp-release.aab

test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 29d4ab9

Please sign in to comment.