Skip to content

Commit

Permalink
Remove the old, individual, unsigned APK artifacts
Browse files Browse the repository at this point in the history
They're still avaialable via the (consolidated) build-outputs
artifact.
  • Loading branch information
pcolby committed Jul 15, 2023
1 parent 296c0d6 commit a92db87
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,6 @@ jobs:
env:
MATRIX_OS: ${{ matrix.os }}
- run: ./gradlew build
- name: Setup APK artifact names
run: |
echo "DEBUG_APK=$(jq -er '.elements[].outputFile|sub("(-unsigned)?(\\.apk)?$";"")' 'app/build/outputs/apk/debug/output-metadata.json')" >> "$GITHUB_ENV"
echo "RELEASE_APK=$(jq -er '.elements[].outputFile|sub("(-unsigned)?(\\.apk)?$";"")' 'app/build/outputs/apk/release/output-metadata.json')" >> "$GITHUB_ENV"
shell: bash
- name: Upload debug APK
uses: actions/upload-artifact@v3
with:
name: ${{ env.DEBUG_APK }}
path: app/build/outputs/apk/debug/*.apk
if-no-files-found: error
- name: Upload release APK
uses: actions/upload-artifact@v3
with:
name: ${{ env.RELEASE_APK }}
path: app/build/outputs/apk/release/*.apk
if-no-files-found: error
- name: Prep consolidated build outputs
run: |
mkdir -p "$RUNNER_TEMP/build-outputs"
Expand Down

0 comments on commit a92db87

Please sign in to comment.