forked from pinterest/ktlint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release-changelog-builder-action to temporary workflow
- Loading branch information
Paul Dingemans
committed
Aug 22, 2023
1 parent
0a25006
commit d834bba
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Snapshot Publish | ||
|
||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
# if: github.repository == 'pinterest/ktlint' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 19 | ||
- uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
|
||
- name: "Build Changelog" | ||
id: build_changelog | ||
uses: mikepenz/release-changelog-builder-action@v3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Print changelog | ||
run: echo ${{steps.build_changelog.outputs.changelog}} |