Commit 85fdcc78 by CaIon

fix: 修复工作流重复创建release的问题

parent 04d441ef
...@@ -130,13 +130,10 @@ jobs: ...@@ -130,13 +130,10 @@ jobs:
- name: Download all artifacts - name: Download all artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
- name: Create Release - name: Upload to Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: | files: |
windows-build/* windows-build/*
draft: false
prerelease: false
overwrite_files: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
...@@ -54,8 +54,6 @@ jobs: ...@@ -54,8 +54,6 @@ jobs:
with: with:
files: | files: |
new-api-* new-api-*
draft: true
generate_release_notes: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...@@ -93,8 +91,6 @@ jobs: ...@@ -93,8 +91,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
files: new-api-macos-* files: new-api-macos-*
draft: true
generate_release_notes: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...@@ -134,8 +130,6 @@ jobs: ...@@ -134,8 +130,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
files: new-api-*.exe files: new-api-*.exe
draft: true
generate_release_notes: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment