diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48fd4cb..a54fd8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,11 +71,8 @@ jobs: - name: Create and Push Git Tag run: | - git checkout main # or your release branch git tag -a v${{ github.event.inputs.release_version }} -m "Release v${{ github.event.inputs.release_version }}" git push origin v${{ github.event.inputs.release_version }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create GitHub Release uses: softprops/action-gh-release@v2 @@ -89,6 +86,7 @@ jobs: - name: Upload JAR to GitHub Release uses: softprops/action-gh-release@v2 with: + tag_name: v${{ github.event.inputs.release_version }} files: target/*.jar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file