From e42d177ca0eee10a906e4fb7c13e7601d70dc6ac Mon Sep 17 00:00:00 2001 From: Zmax0 Date: Mon, 22 Jul 2024 15:54:34 +0800 Subject: [PATCH] build: update release.yml --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13a17c0..81da4f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,6 @@ jobs: cache: maven - name: Build with Maven run: mvn -B package --file pom.xml - - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') @@ -26,3 +25,5 @@ jobs: files: | urban-spork-client-gui/target/*.zip urban-spork-server/target/*.zip + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}