Skip to content

Commit

Permalink
修正发布失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yunnysunny committed Jan 19, 2022
1 parent cdc90a0 commit c7d2a55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,14 @@ jobs:
- name: Build And Gen Pdf
working-directory: ./
run: ./gen_pdf.sh
- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::UserBuild_$(date +"%Y.%m.%d_%H-%M")"
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: ./output/${{ github.sha }}.pdf
draft: false
prerelease: true

0 comments on commit c7d2a55

Please sign in to comment.