Merge pull request #10949 from zlonast/master #14
This file contains hidden or 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
| name: Changelogs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| release: | |
| types: | |
| - created | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build: | |
| name: Changelogs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install changelog-d | |
| run: | | |
| curl --create-dirs -o "$HOME/.local/bin/changelog-d" -sS --fail \ | |
| "https://codeberg.org/fgaz/changelog-d/releases/download/v1.0.1/changelog-d-v1.0.1-x86_64-linux" | |
| chmod +x "$HOME/.local/bin/changelog-d" | |
| # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path | |
| echo "$HOME/.local/bin" >> $GITHUB_PATH | |
| - name: Checkout cabal sources | |
| uses: actions/checkout@v4 | |
| - name: Run changelog-d | |
| run: | | |
| changelog-d changelog.d |