Skip to content

Commit

Permalink
update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ive committed Jun 15, 2023
1 parent b695747 commit 98d9aa2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,13 @@ jobs:
useQemu: 0
- 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
continue-on-error: true
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: |
gh release delete "${{ env.GRUB4DOS_VER }}" --cleanup-tag --yes
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 98d9aa2

Please sign in to comment.