From c7ab06f348a35b8fa7381649adf88aa30f00d153 Mon Sep 17 00:00:00 2001 From: xbol0 Date: Fri, 17 Mar 2023 15:31:51 +0800 Subject: [PATCH] change release action --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77fe91e..41af991 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,9 @@ jobs: - name: Cross build run: make cross - name: Create release - uses: meeDamian/github-release@2.0 + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: token: ${{ secrets.TOKEN }} - files: dist/ - gzip: false + files: | + dist/*