Skip to content

Commit

Permalink
chore(CI) : 弃用已归档的create-release
Browse files Browse the repository at this point in the history
  • Loading branch information
XmmShp committed Feb 23, 2025
1 parent 748a81c commit 49142e4
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,12 @@ jobs:
with:
path: artifacts

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
release_name: Release v${{ github.event.inputs.version }}
draft: true
prerelease: false

- name: Upload Release Assets
- name: Create Release and Upload Assets
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
name: Release v${{ github.event.inputs.version }}
draft: true
prerelease: false
files: |
artifacts/**/*.exe
artifacts/**/*.AppImage
Expand Down

0 comments on commit 49142e4

Please sign in to comment.