Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luyanci committed Apr 3, 2024
1 parent 6787626 commit 44dd708
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Release

on:
push:
branches:
- master
tags:
- '*'

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
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)"

0 comments on commit 44dd708

Please sign in to comment.