Update release.yml

This commit is contained in:
KoalaSat 2022-11-06 23:14:28 +01:00 committed by GitHub
parent 61e72bea9b
commit a3c29d7201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,16 +19,17 @@ jobs:
id: create-release id: create-release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
body: body: "
\# New Release [${{ github.ref_name }}] # New Release [${{ github.ref_name }}]
https://github.com/KoalaSat/nostros/releases/${{ github.ref_name }} https://github.com/KoalaSat/nostros/releases/${{ github.ref_name }}
\## Changelog ## Changelog
\## Download ## Download
https://github.com/KoalaSat/nostros/releases/download/${{ github.ref_name }}/nostros-${{ github.ref_name }}.apk https://github.com/KoalaSat/nostros/releases/download/${{ github.ref_name }}/nostros-${{ github.ref_name }}.apk
"
# Upload APK artifact asset # Upload APK artifact asset
- name: 'Download APK Artifact' - name: 'Download APK Artifact'
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
@ -44,4 +45,4 @@ jobs:
upload_url: ${{ steps.create-release.outputs.upload_url }} upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: app-release.apk asset_path: app-release.apk
asset_name: nostros-${{ github.ref_name }}.apk asset_name: nostros-${{ github.ref_name }}.apk
asset_content_type: application/apk asset_content_type: application/apk