Skip to content

Publish

Publish #107

Workflow file for this run

name: Publish
on:
push:
branches:
- main
workflow_dispatch:
inputs:
dry_run:
required: true
type: boolean
jobs:
publish:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
pkg_root: [./Packages/ga.fuquna.rosettaui, ./Packages/ga.fuquna.rosettaui.uitoolkit]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 19
branch: ${{ github.ref_name }}
working_directory: ${{ matrix.pkg_root }}
extra_plugins: |
@semantic-release/changelog@6
@semantic-release/git
extends: |
[email protected]
dry_run: ${{ inputs && inputs.dry_run }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: sleep 60