Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
airsquared committed Sep 25, 2023
1 parent 5ca7b95 commit 6a16710
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-jlink-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,23 @@ jobs:
env: # Or as an environment variable
GRGIT_USER: ${{ secrets.GRGIT_USER }}
run: chmod +x publish.sh && ./publish.sh
release:
name: Publish to the Gradle Plugin Portal
runs-on: ubuntu-latest
needs: build
if: "startsWith(github.event.head_commit.message, 'Release ')"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Publish Gradle Plugins
uses: gradle/gradle-build-action@v2
with:
arguments: |
assemble
publishPlugins
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: |
build
assemble
publishPlugins
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pluginVersionMajor = 3
pluginVersionMinor = 0
pluginVersionPatch = 0
pluginVersionLabel = rc-1
#pluginVersionLabel = rc-1
pluginReleaseBuild = true

0 comments on commit 6a16710

Please sign in to comment.