Skip to content

release v0.9.1

release v0.9.1 #1

Workflow file for this run

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/prepare
- run: git config user.name "${{ GITHUB_ACTOR }}"

Check failure on line 13 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 13, Col: 14): Unrecognized named-value: 'GITHUB_ACTOR'. Located at position 1 within expression: GITHUB_ACTOR .github/workflows/release.yml (Line: 14, Col: 14): Unrecognized named-value: 'GITHUB_ACTOR'. Located at position 1 within expression: GITHUB_ACTOR
- run: git config user.email "${{ GITHUB_ACTOR }}@users.noreply.github.com"
- env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
- env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
if git log --format=%B -n 1 | grep -q 'release v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'; then
pnpm release-it --no-increment --verbose
fi
name: Release
on:
push:
branches:
- main
permissions:
contents: write
id-token: write