Skip to content

Commit

Permalink
finish new release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshschriever authored Feb 22, 2023
1 parent 26e06b1 commit a6461fd
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,31 +42,31 @@ jobs:
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
- 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

# - id: next_version
# uses: jessicalostinspace/[email protected]
# with:
# semantic-version: ${{ steps.current_version.outputs.version }}
# version-type: PATCH
- id: next_version
uses: jessicalostinspace/[email protected]
with:
semantic-version: ${{ steps.current_version.outputs.version }}
version-type: PATCH

# - name: Bump Version
# uses: christian-draeger/[email protected]
# with:
# path: gordon-plugin/gradle.properties
# property: version
# value: ${{steps.next_version.outputs.bumped-semantic-version}}
- name: Bump Version
uses: christian-draeger/[email protected]
with:
path: gordon-plugin/gradle.properties
property: version
value: ${{steps.next_version.outputs.bumped-semantic-version}}

# - name: Commit Version Bump
# uses: EndBug/add-and-commit@v4.4.0
# env:
# GITHUB_TOKEN: ${{ secrets.BANNO_AUTOBOT_GITHUB_TOKEN }}
# with:
# add: gordon-plugin/gradle.properties
# message: Bump version to ${{steps.next_version.outputs.bumped-semantic-version}}
- name: Commit Version Bump
uses: EndBug/add-and-commit@v9.1.1
env:
GITHUB_TOKEN: ${{ secrets.BANNO_AUTOBOT_GITHUB_TOKEN }}
with:
add: gordon-plugin/gradle.properties
message: Bump version to ${{steps.next_version.outputs.bumped-semantic-version}}

0 comments on commit a6461fd

Please sign in to comment.