From 10639ab7139b044f0043e915e5f7c0c03b478433 Mon Sep 17 00:00:00 2001 From: Arran Ubels Date: Sat, 9 Mar 2024 23:28:54 +1100 Subject: [PATCH] Change release action --- .github/workflows/release.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4b2c0cb..8e80916 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,11 +27,10 @@ jobs: cp arrans-kde-keyboard-shortcuts-with-meta.kksrc pkg/usr/share/kcmkeys/arrans.kksrc dpkg-deb --root-owner-group --build pkg/ . - - name: Upload package as release artifact - uses: actions/upload-release-asset@v1 + - name: Release + uses: softprops/action-gh-release@v2 with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ../kde-keyboard-shortcuts-with-meta_${{ steps.get_version.outputs.VERSION }}_all.deb - asset_name: kde-keyboard-shortcuts-with-meta_${{ steps.get_version.outputs.VERSION }}_all.deb - asset_content_type: application/octet-stream - token: ${{ secrets.GITHUB_TOKEN }} + generate_release_notes: true + fail_on_unmatched_files: true + files: | + *.txt \ No newline at end of file