From 5c155aabdfcfc1057a91dda6263da2adb48b0c36 Mon Sep 17 00:00:00 2001 From: merith-tk Date: Tue, 5 Nov 2024 11:59:24 -0800 Subject: [PATCH] make release --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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"