Skip to content

TEST

TEST #5

Workflow file for this run

name: Release
on:
pull_request:
jobs:
release-notes:
name: Parse release notes
runs-on: ubuntu-latest
outputs:
release_notes: ${{ steps.read_release_notes.outputs.release_notes }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Parse release notes
id: read_release_notes
shell: bash
run: |
r=$(./scripts/parse-changelog.sh v0.6.1)
r="${r//'%'/'%25'}"
r="${r//$'\n'/'%0A'}"
r="${r//$'\r'/'%0D'}"
echo "release_notes=$r" >> $GITHUB_OUTPUT
publish-github:
name: Publish on GitHub
runs-on: ${{ matrix.config.OS }}
needs: release_notes

Check failure on line 29 in .github/workflows/potato.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/potato.yml (Line: 29, Col: 12): Job 'publish-github' depends on unknown job 'release_notes'.
strategy:
fail-fast: false
matrix:
config:
- { OS: ubuntu-latest, TARGET: "x86_64-unknown-linux-gnu" }
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Potato
shell: bash
run: echo "${{ needs.release_notes.outputs.release_notes }}"