Skip to content

Release Beta

Release Beta #54

Workflow file for this run

name: Release Beta
run-name: Release Beta ${{ inputs.version }} ${{ github.actor }} ${{ github.event_name }}
on:
workflow_dispatch:
jobs:
create-beta-tag:
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
tag: ${{ steps.version-and-tag.outputs.tag }}
steps:
- uses: actions/checkout@v5
with:
ref: 'main'
fetch-depth: 0
fetch-tags: true
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Tag
id: version-and-tag
run: |
PKG_VERSION=$(jq -r .version package.json)
FULL_TAG="v${PKG_VERSION}-beta"
git tag "$FULL_TAG"
git push origin "$FULL_TAG"
echo "Created tag from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"
echo "tag=$FULL_TAG" >> $GITHUB_OUTPUT
call-release:
needs: [create-beta-tag]
uses: ./.github/workflows/release.yml

Check failure on line 40 in .github/workflows/beta-release.yml

View workflow run for this annotation

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

Invalid workflow file

error parsing called workflow ".github/workflows/beta-release.yml" -> "./.github/workflows/release.yml" (source branch with sha:0c600050161c98f12b96a2ee89dbb3eccb87046d) : (Line: 218, Col: 15): Unrecognized named-value: 'node-version'. Located at position 1 within expression: node-version
permissions:
contents: write
with:
tag: ${{ needs.create-beta-tag.outputs.tag }}