Skip to content

Publish Package

Publish Package #12

Workflow file for this run

# This is a basic workflow that is manually triggered
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"
- name: Echo url
run: echo "${{fromJson($AUTH_TOKEN.url)}}"

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.url)