Skip to content

try to get log body

try to get log body #7

name: Create Sample Release
on:
push:
tags:
- v*
permissions:
contents: write
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest
steps:
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.3.1
with:
myToken: ${{ secrets.ACCESS_TOKEN }}

Check failure on line 20 in .github/workflows/create-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Echo log
run: echo "${{ steps.changelog.outputs.changelog }}" > out.md
- name: Cat log
run: cat out.md
- name: Upload sample
uses: ncipollo/release-action@v1
with:
name: Sample/Resource packs ${{ github.ref_name }}
repo_token: ${{ secrets.ACCESS_TOKEN }}
overwrite: true
allowUpdates: true
body: ${{ steps.changelog.outputs.changelog }}