From 4a49fd7a2428174c66ef616f84529f231845bded Mon Sep 17 00:00:00 2001 From: lkhsss Date: Tue, 12 Aug 2025 23:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=87=AA=E5=8A=A8=E6=9E=84?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a8f8b2..2d1fba3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,22 +133,12 @@ jobs: echo "archive=dist/$name.tar.gz" >> $GITHUB_OUTPUT fi - name: Publish Archive - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v2.2.1 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: - draft: true + draft: false files: ${{ steps.package.outputs.archive }} prerelease: ${{ steps.check-tag.outputs.rc == 'true' }} - turn-draft-to-release: - name: Turn draft to false - if: ${{ needs.release.outputs.rc == 'false' }} - runs-on: ubuntu-latest - needs: release - steps: - - uses: actions/checkout@v4 - - uses: softprops/action-gh-release@v2 - with: - draft: false publish-crate: name: Publish to crates.io