From 44dd708a8f5e00f7b2df83796697fbc1e598b93b Mon Sep 17 00:00:00 2001 From: luyanci <2058282593@qq.com> Date: Wed, 3 Apr 2024 15:42:24 +0000 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db76bc5..dccf84a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,8 @@ name: Release on: push: + branches: + - master tags: - '*' @@ -9,10 +11,8 @@ jobs: release: runs-on: ubuntu-latest steps: - - name: Get files from repository(Gitee) - run: | - wget https://gitee.com/vc_teahouse/SJDM/releases/download/${{ github.ref_name }}/%E9%9A%8F%E6%9C%BA%E7%82%B9%E5%90%8D.exe -oSJDM.exe - - name: Upload to Release - uses: svenstaro/upload-release-action@v2 + - name: Create Releases + uses: softprops/action-gh-release@v2.0.4 with: - file: SJDM.exe \ No newline at end of file + tag_name: ${{ github.ref_name }} + body: "## [Click here to download!](https://gitee.com/vc_teahouse/SJDM/releases/download/${{ github.ref_name }}/%E9%9A%8F%E6%9C%BA%E7%82%B9%E5%90%8D.exe)"