Skip to content

release

release #9

Workflow file for this run

name: release
on: workflow_dispatch
jobs:
publish-init:
runs-on: ubuntu-latest
outputs:
github-release-id: ${{ steps.init-step.outputs.github-release-id }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: git config --global user.name "${GITHUB_ACTOR}"
- run: git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm run publish-init-project --workspace @project-gauntlet/build
id: init-step
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-linux:
needs:
- publish-init
uses: ./.github/workflows/setup-linux.yaml
with:
command: npm run publish-linux-project --workspace @project-gauntlet/build
github-release-id: ${{ needs.publish-init.outputs.github-release-id }}
publish-macos:
needs:
- publish-init
uses: ./.github/workflows/setup-macos.yaml
with:
command: npm run publish-macos-project --workspace @project-gauntlet/build
github-release-id: ${{ needs.publish-init.outputs.github-release-id }}

Check failure on line 40 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 40, Col: 26): Invalid input, github-release-id is not defined in the referenced workflow.
publish-final:
needs:
- publish-linux
- publish-macos
uses: ./.github/workflows/setup-linux.yaml
with:
command: npm run publish-final-project --workspace @project-gauntlet/build
github-release-id: ${{ needs.publish-init.outputs.github-release-id }}