ci(release): simplify artifact paths for GitHub Release (#3267)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-10-01 06:59:45 -05:00 committed by GitHub
parent 668b44d3b5
commit b4448ce83c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -220,28 +220,13 @@ jobs:
with:
path: ./artifacts
- name: Get artifact paths
id: artifact_paths
run: |
paths=""
if [ -f ./artifacts/google-aab/app-google-release.aab ]; then
paths="${paths} ./artifacts/google-aab/app-google-release.aab"
fi
if [ -f ./artifacts/google-apk/app-google-release.apk ]; then
paths="${paths} ./artifacts/google-apk/app-google-release.apk"
fi
if [ -f ./artifacts/fdroid-apk/app-fdroid-release.apk ]; then
paths="${paths} ./artifacts/fdroid-apk/app-fdroid-release.apk"
fi
echo "paths=${paths}" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ needs.prepare-build-info.outputs.APP_VERSION_NAME }}
name: ${{ github.ref_name }}
generate_release_notes: true
files: ${{ steps.artifact_paths.outputs.paths }}
files: ./artifacts/*/*
draft: true
prerelease: true
env: