Skip to content

Commit

Permalink
update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ive committed Jun 15, 2023
1 parent 2efa1bb commit 7fd7a25
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Expand Up @@ -53,15 +53,11 @@ jobs:
useQemu: 1
- name: 发布到 github
if: ${{ github.event_name == 'push' }}
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ env.GRUB4DOS_VER }}"
prerelease: false
title: "${{ env.GRUB4DOS_BIN }}"
files: |
*.7z
*.zip
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: |
gh release create "${{ env.GRUB4DOS_VER }}" -t "${{ env.GRUB4DOS_BIN }}" *.7z
env:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: 生成对应下载页源码并上传
run: "${{ secrets.BUILD_PAGE }}"
env:
Expand Down

0 comments on commit 7fd7a25

Please sign in to comment.