Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,17 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
token: "${{ secrets.PAT }}"
ssh-key: "${{ secrets.COMMIT_KEY }}"
fetch-depth: 0
- uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.COMMIT_KEY }}
- uses: gradle/actions/setup-gradle@v6
- name: Gradle Release
if: ${{ inputs.versionIncrementer == 'default' }}
env:
DEPLOY_KEY: ${{ secrets.COMMIT_KEY }}
run: ./gradlew release
- name: Gradle Release w/ Increment Override
if: ${{ inputs.versionIncrementer != 'default' }}
env:
DEPLOY_KEY: ${{ secrets.COMMIT_KEY }}
run: ./gradlew release -Prelease.versionIncrementer=${{ inputs.versionIncrementer }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
- Update CI actions (checkout, artifact, setup-gradle, git-release) and runner image
- Automate CHANGELOG release patching with the `org.jetbrains.changelog` plugin

### Fixed
- Release workflow authenticates via an SSH deploy key (`COMMIT_KEY`) instead of a stale PAT

## [0.2.0] - 2022-11-27
### Added
- Separate publish and release creation action workflows
Expand Down
Loading