Skip to content

Commit

Permalink
fix: use action in java release wf
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTiedemann committed Jul 15, 2024
1 parent ddbbf68 commit 52ae7a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java-gradle-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
steps:
- name: Release on Github
id: release
uses: bakdata/ci-templates/actions/java-gradle-release@1.43.0
uses: bakdata/ci-templates/actions/java-gradle-release@tiedemann/changelog-action
with:
release-type: ${{ inputs.release-type }}
github-email: ${{ secrets.github-email }}
Expand Down
10 changes: 5 additions & 5 deletions actions/java-gradle-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ runs:
shell: bash

- name: Create changelog
run: ./gradlew -Pchangelog.githubRepository=${{ github.event.repository.name }} -Pchangelog.futureVersionTag=${{ steps.evaluate-version.outputs.release-version }} --stacktrace --info generateChangelog ${{ inputs.gradle-refresh-dependencies == 'true' && '--refresh-dependencies' || '' }}
shell: bash
using: bakdata/ci-templates/actions/changelog-generate@tiedemann/changelog-action
with:
github-token: ${{ inputs.github-token }}
tag: ${{ steps.evaluate-version.outputs.release-version }}
changelog-file: CHANGELOG.md
working-directory: ${{ inputs.working-directory }}
env:
GITHUB_USER: ${{ github.repository_owner }}
GITHUB_TOKEN: ${{ inputs.github-token }}

- name: Commit and push changes including the bump config file
run: |
Expand Down

0 comments on commit 52ae7a7

Please sign in to comment.