Skip to content

Next Publication

Next Publication #21

Workflow file for this run

name: Next Publication
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: read
id-token: write
env:
working-directory: js-library
dist-directory: ${{env.working-directory}}/dist

Check failure on line 14 in .github/workflows/nightly.yml

View workflow run for this annotation

GitHub Actions / Next Publication

Invalid workflow file

The workflow is not valid. .github/workflows/nightly.yml (Line: 14, Col: 23): Unrecognized named-value: 'env'. Located at position 1 within expression: env.working-directory
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare and Build JS Library
uses: ./.github/actions/build
with:
folder: ${{env.working-directory}}
- name: Package next
working-directory: ${{env.working-directory}}
run: ./scripts/package-next
- name: Publish
working-directory: ${{env.dist-directory}}
run: npm publish --provenance --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}