mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Clean up
This commit is contained in:
parent
da1b2c6de0
commit
e0998db4ab
2 changed files with 3 additions and 16 deletions
16
.github/workflows/pr.yml
vendored
16
.github/workflows/pr.yml
vendored
|
|
@ -43,23 +43,9 @@ jobs:
|
|||
- name: Build app
|
||||
id: buildapp
|
||||
run: |
|
||||
./gradlew clean assembleDebug bundleDebug testDebugUnitTest --no-daemon
|
||||
./gradlew clean assembleDebug testDebugUnitTest --no-daemon
|
||||
apks=$(find app/build/outputs \( -name '*.apk' -or -name '*.aab' \) -print0 | tr '\0' ',' | sed 's/,$//')
|
||||
echo "apks=$apks" >> "$GITHUB_OUTPUT"
|
||||
- name: Tar build dirs
|
||||
run: |
|
||||
tar -czf build.tgz ./app/.
|
||||
- uses: actions/upload-artifact@v6
|
||||
id: upload-build-dirs
|
||||
with:
|
||||
name: "${{ env.BUILD_DIRS_ARTIFACT }}"
|
||||
path: build.tgz
|
||||
if-no-files-found: error
|
||||
- uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: APKs
|
||||
path: "${{ steps.buildapp.outputs.apks }}"
|
||||
compression-level: 0
|
||||
|
||||
test-patch:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -77,7 +77,8 @@ jobs:
|
|||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: AAB
|
||||
path: "${{ steps.buildaab.outputs.aab }}"
|
||||
path: |
|
||||
app/build/outputs/bundle/**/*.aab
|
||||
compression-level: 0
|
||||
- name: Create GitHub release
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue