Skip to content

trigger-release

trigger-release #4

name: Release Workflow
on:
repository_dispatch:
types: [trigger-release]
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Git
run: |
git config user.name "nanuijaz"
git config user.email "[email protected]"
- name: Get latest release version
id: get-latest-release
run: |
latestTag=$(curl -s "https://api.github.com/repos/IntersecMBO/cardano-node/releases/latest" | jq -r '.tag_name')
echo "{latestTag}={$latestTag}" >> $GITHUB_OUTPUT
- name: Create release in forked repository
run: |

Check failure on line 28 in .github/workflows/create-release.yaml

View workflow run for this annotation

GitHub Actions / Release Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/create-release.yaml (Line: 28, Col: 14): Unrecognized named-value: 'GITHUB_OUTPUT'. Located at position 1 within expression: GITHUB_OUTPUT
git tag -a "${{ GITHUB_OUTPUT }}" -m "Release notes for ${{ GITHUB_OUTPUT }}"
git push origin "${{ GITHUB_OUTPUT }}"