Upload all release artifacts so they can be referenced from later jobs

This commit is contained in:
Inhishonor
2026-01-25 06:50:09 -08:00
parent acd135cc12
commit 91979ee5eb
+17 -3
View File
@@ -174,6 +174,15 @@ jobs:
find . -name '*.apk' -type f -exec sha256sum {} \; > checksums.txt
echo "checksums_path=checksums.txt" >> "$GITHUB_OUTPUT"
- name: Upload all build outputs
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
${{ steps.release_artifact.outputs.apk_release_path }}
${{ steps.fdroid_artifact.outputs.apk_fdroid_path }}
${{ steps.checksums.outputs.checksums_path }}
generate_release_notes:
needs: build
uses: ./.github/workflows/generate-release-notes.yml
@@ -205,6 +214,12 @@ jobs:
echo "EOF"
} >> "$GITHUB_OUTPUT"
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: downloaded/
- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:
@@ -214,9 +229,8 @@ jobs:
prerelease: ${{ inputs.prerelease }}
body: ${{ steps.clean_notes.outputs.clean_notes }}
files: |
${{ needs.build.outputs.apk_release_path }}
${{ needs.build.outputs.apk_fdroid_path }}
${{ needs.build.outputs.checksums_path }}
downloaded/**/*.apk
downloaded/*.txt
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}