Skip to content

v9.0.6

v9.0.6 #198

Workflow file for this run

name: release
on:
push:
tags:
- v*
permissions:
contents: read
jobs:
release-notes:
runs-on: ubuntu-latest
if: github.repository_owner == 'visgl'
env:
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Get git tags (https://github.com/actions/checkout/issues/206)
run: git fetch --tags -f
- name: Use Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: '18.x'
- name: Publish release
run: |
body=$(node scripts/github-release.js) &&
curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/visgl/deck.gl/releases \
-d "${body}" \
-H "Authorization: token ${ADMIN_TOKEN}"