test-changelog-generation.yml #7
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
--- | ||
name: test-changelog-generation.yml | ||
on: | ||
workflow_dispatch: {} | ||
jobs: | ||
generate-changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Gradle | ||
id: vars | ||
uses: ./.github/workflows/gradle-goal | ||
with: | ||
command: "" | ||
- name: Generate Release Notes | ||
id: vars | ||
Check failure on line 21 in .github/workflows/test-changelog-generation.yml GitHub Actions / test-changelog-generation.ymlInvalid workflow file
|
||
run: | | ||
echo 'foo=bar' >> $GITHUB_OUTPUT | ||
echo 'notes<<RELNOTESEOF' >> $GITHUB_OUTPUT | ||
cat CHANGELOG.md >> $GITHUB_OUTPUT | ||
printf '\nThis release is based on the following upstream versions:\n\n' >> $GITHUB_OUTPUT | ||
./gradlew -q printUpstreamDependenciesMarkdown >> $GITHUB_OUTPUT | ||
echo 'RELNOTESEOF' >> $GITHUB_OUTPUT | ||
- name: Echo release notes | ||
run: echo '${{ steps.vars.outputs.foo }}' && echo '${{ steps.vars.outputs.notes }}' | ||
# - name: Create GitHub Release | ||
# env: | ||
# GH_TOKEN: ${{ github.token }} | ||
# run: | | ||
# gh release create v1.23 \ | ||
# --title="Dummy Release" \ | ||
# --notes="${{ steps.generate_release_notes.outputs.release_notes }}" |