Skip to content

Publish Package

Publish Package #18

Workflow file for this run

name: Publish Package
on:
workflow_dispatch:
env:
GH_TOKEN: ${{ github.token }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Get release url
id: get_release_url
run: |
token=$(gh release view --repo $GITHUB_REPOSITORY --json url)
echo "AUTH_TOKEN=$token" >> "$GITHUB_ENV"
- run: echo "$AUTH_TOKEN"
- run: echo "${{ env.AUTH_TOKEN }}"
- run: echo "${{ fromJson(env.AUTH_TOKEN) }}"
- run: echo ${{ fromJson("$AUTH_TOKEN") }}

Check failure on line 22 in .github/workflows/manual.yml

View workflow run for this annotation

GitHub Actions / Publish Package

Invalid workflow file

The workflow is not valid. .github/workflows/manual.yml (Line: 22, Col: 14): Unexpected symbol: '"$AUTH_TOKEN"'. Located at position 10 within expression: fromJson("$AUTH_TOKEN")