diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45955a9..8f8bda0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: Release Modpack on: - push: - tags: - - 'v*' + release: + types: [published] jobs: build: @@ -38,9 +37,11 @@ jobs: - name: Make Modlist run: make release-file - - name: Create Release + - name: Upload to Release uses: ncipollo/release-action@v1 with: + token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.event.release.tag_name }} artifacts: ".build/*" allowUpdates: true bodyFile: ".build/CHANGELOG.md"