Skip to content

Sync Release

Sync Release #11

Workflow file for this run

name: Sync Release
on:
release:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Set up Node
uses: actions/setup-node@v4
- run: |
curl -L \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/$GITHUB_REPO/releases" \
-o releases.json
cat releases.json
ls
- name: Publish
run: bash .github/workflows/publish.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}