Skip to content

ci: update release action #1098

ci: update release action

ci: update release action #1098

Workflow file for this run

on:
push:
branches:
- main
- v[1-9]+.[0-9]+.[0-9]+-hotfix-[1-9]+ # match branches in format v6-20-10-hotfix-1
- hotfix-test-[1-9]+
name: Release
jobs:
release:
if: github.repository == 'ydb-platform/ydb-embedded-ui'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm test
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
release-type: node
target-branch: ${{ github.ref_name }}
manifest-file: ${{ github.ref_name != 'main' && .release-please-manifest.json || .release-please-manifest-hotfix.json }}

Check failure on line 26 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: 26, Col: 26): Unexpected symbol: '.release-please-manifest.json'. Located at position 30 within expression: github.ref_name != 'main' && .release-please-manifest.json || .release-please-manifest-hotfix.json