Skip to content

Commit

Permalink
use nicpollo's release action to avoid large file's drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Readon committed Oct 30, 2023
1 parent 52ec227 commit d7f4f88
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,23 +118,25 @@ jobs:
run: echo "::set-output name=tag_name::all-in-one-$(date +'%Y%m%d%H%M%S')"

- name: Upload Installers
uses: softprops/action-gh-release@v1
uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/heads/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.set_tag.outputs.tag_name }}
tag: ${{ steps.set_tag.outputs.tag_name }}
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
body: ${{ github.event.head_commit.message }}
files: |
msys2-*
body: ${{ github.event.head_commit.message }}
artifacts: "msys2-*"


- name: Upload Installers with Tag
uses: softprops/action-gh-release@v1
uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: ${{ github.event.head_commit.message }}
files: |
artifacts: |
msys2-*

0 comments on commit d7f4f88

Please sign in to comment.