From d43c7094ef24b487499a66119d9bc248a01951cf Mon Sep 17 00:00:00 2001 From: sonygod Date: Wed, 9 Oct 2024 16:34:49 +0800 Subject: [PATCH] 2 --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 235a44a..a698648 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,10 +62,10 @@ jobs: name: MyPlugin path: build/Release/MyPlugin.exe - # - name: Release - # if: startsWith(github.ref, 'refs/tags/') # Only run on tag releases - # uses: softprops/action-gh-release@v1 - # with: - # files: build/Release/MyPlugin.exe - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - name: Release + if: startsWith(github.ref, 'refs/tags/') # Only run on tag releases + uses: softprops/action-gh-release@v1 + with: + files: build/Release/MyPlugin.exe + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file