diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9386991..9dd2450 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,12 +36,8 @@ jobs: - uses: actions-ecosystem/action-get-latest-tag@v1 id: get-latest-tag - - name: update latest Release - if: "!(startsWith(github.ref, 'refs/tags/v'))" - uses: ncipollo/release-action@v1.10.0 + - uses: "marvinpinto/action-automatic-releases@latest" with: - allowUpdates: true - artifacts: dist/* - tag: ${{ steps.get-latest-tag.outputs.tag }} - prerelease: true - removeArtifacts: true + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: ${{ steps.get-latest-tag.outputs.tag }} + files: dist/*