From fcbf87bd0cd3b0b65aeb18e05c60ee4b88e6b638 Mon Sep 17 00:00:00 2001 From: Len Bucchino Date: Fri, 26 Jan 2024 18:11:24 -0600 Subject: [PATCH] Update gradle-publish.yml (cherry picked from commit b890363f2974fd4601cb457190b9d7237643ecc7) (cherry picked from commit b44b77075800b0d894924392a43f4ec050be86da) --- .github/workflows/gradle-publish.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 05094c22f..7232f3e9f 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -8,7 +8,6 @@ name: Gradle Package on: - workflow_dispatch: release: types: [created] @@ -30,20 +29,20 @@ jobs: server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - - name: gradle fix - run: chmod +x /home/runner/work/Irons-Spells-n-Spellbooks/Irons-Spells-n-Spellbooks/gradlew - - name: Build with Gradle - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 + uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 with: arguments: build # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle - name: Publish to GitHub Packages - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 + uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 with: arguments: publish env: MAVEN_USER: ${{ secrets.MAVEN_USER }} MAVEN_PASS: ${{ secrets.MAVEN_PASS }} + + +