Skip to content

Commit 11494fe

Browse files
committed
update github workflow v3
1 parent 14fab03 commit 11494fe

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,12 @@ jobs:
7676

7777
- name: Create GitHub Release
7878
if: github.event_name == 'push'
79-
uses: softprops/action-gh-release@v2
80-
with:
81-
tag_name: ${{ steps.version.outputs.RELEASE_TAG }}
82-
name: ${{ steps.version.outputs.RELEASE_NAME }}
83-
body_path: /tmp/release_notes.txt
84-
draft: false
85-
prerelease: ${{ steps.version.outputs.IS_PRERELEASE == 'true' }}
86-
files: |
87-
dist/PCM_v${{ steps.version.outputs.VERSION }}_Linux_GTK3.tar.gz
88-
dist/PCM_v${{ steps.version.outputs.VERSION }}_Linux_GTK3.zip
89-
dist/pcm_${{ steps.version.outputs.VERSION }}_all.deb
79+
env:
80+
GH_TOKEN: ${{ github.token }}
81+
run: |
82+
gh release create "${{ steps.version.outputs.RELEASE_TAG }}" \
83+
--title "${{ steps.version.outputs.RELEASE_NAME }}" \
84+
--notes-file /tmp/release_notes.txt \
85+
"dist/PCM_v${{ steps.version.outputs.VERSION }}_Linux_GTK3.tar.gz" \
86+
"dist/PCM_v${{ steps.version.outputs.VERSION }}_Linux_GTK3.zip" \
87+
"dist/pcm_${{ steps.version.outputs.VERSION }}_all.deb"

0 commit comments

Comments
 (0)