diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 50b5190..9145403 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -33,17 +33,12 @@ jobs: name: LargeRaids path: build/libs/ - - name: Remove Old Tags - run: gh release delete "${{ env.MC_VERSION }}" --cleanup-tag - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Release - uses: softprops/action-gh-release@v2 + uses: "ThisTestUser/marvinpinto-action-automatic-releases@1.0" with: - token: "${{ secrets.GITHUB_TOKEN }}" - tag_name: "${{ env.MC_VERSION }}" + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "${{ env.MC_VERSION }}" prerelease: false - name: "Plugin Download for Minecraft ${{ env.MC_VERSION }}" + title: "Plugin Download for Minecraft ${{ env.MC_VERSION }}" files: | build/libs/LargeRaids-${{ env.PLUGIN_VERSION }}.jar