Skip to content

12.0.1

12.0.1 #60

Workflow file for this run

name: Release packages
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: "write"
steps:
- uses: actions/checkout@v2
with:
ref: "main"
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
bundler-cache: true
- uses: actions/setup-node@v2
with:
node-version: "16.17.0"
- run: npm install -g yarn
- name: Release latest Ably UI version
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
./scripts/release.sh "${GITHUB_REF/refs\/tags\//}"
shell: bash