Skip to content

Commit

Permalink
add auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
xtccc committed Oct 31, 2024
1 parent ecfc87a commit 0ed745d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,18 @@ jobs:
with:
name: go_webdav_client-build
path: output/go_webdav_client* # 指定要上传的编译文件路径
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: go_webdav_client-build

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: output/go_webdav_client* # 将下载的二进制文件发布到 release 中
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 使用 GitHub 的 token 来授权发布

0 comments on commit 0ed745d

Please sign in to comment.