Skip to content

Release Alpha

Release Alpha #65

Workflow file for this run

name: Release Alpha
run-name: Release Alpha ${{ github.actor }} ${{ github.event_name }}
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch, tag, or commit to build from'
required: false
default: 'main'
jobs:
create-alpha-tag:
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
tag: ${{ steps.version-and-tag.outputs.tag }}
steps:
- uses: actions/checkout@v5
with:
ref: ${{ inputs.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: Create alpha tag
id: version-and-tag
run: |
PKG_VERSION=$(jq -r .version package.json)
DATE=$(date +%Y%m%d%H%M)
TAG="v${PKG_VERSION}-${DATE}-alpha"
git tag "$TAG"
git push origin "$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=$TAG" >> $GITHUB_OUTPUT
call-release:
needs: [create-alpha-tag]
uses: ./.github/workflows/release.yml

Check failure on line 46 in .github/workflows/alpha-release.yml

View workflow run for this annotation

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

Invalid workflow file

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