Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joshschriever authored Aug 15, 2024
1 parent c192bb9 commit d48606c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17

- uses: actions/checkout@v3
- uses: gradle/actions/setup-gradle@v4

- uses: actions/checkout@v4
with:
token: ${{ env.GITHUB_TOKEN }}

Expand All @@ -36,19 +38,17 @@ jobs:
git push origin ${{ steps.current_version.outputs.version }}
- name: Create Release
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.current_version.outputs.version }}
generateReleaseNotes: true
makeLatest: true

- name: Gradle Publish
uses: gradle/gradle-build-action@v2
env:
GRADLE_PLUGIN_PUBLISH_KEY: ${{ secrets.GRADLE_PLUGIN_PUBLISH_KEY }}
GRADLE_PLUGIN_PUBLISH_SECRET: ${{ secrets.GRADLE_PLUGIN_PUBLISH_SECRET }}
with:
arguments: publishPlugins
run: ./gradlew publishPlugins

- id: next_version
uses: christian-draeger/[email protected]
Expand Down

0 comments on commit d48606c

Please sign in to comment.