2022-07-14 04:58:47 +00:00
name : Package release
on :
workflow_dispatch :
inputs :
packages :
description : 'Enter a specific package to release, or releases separated by commas, ie @woocommerce/components,@woocommerce/number. Leaving this input blank will release all eligible packages.'
required : false
default : '-a'
jobs :
2022-07-22 00:08:11 +00:00
release :
name : Run packages release script
2022-07-14 04:58:47 +00:00
runs-on : ubuntu-20.04
steps :
2022-07-22 00:08:11 +00:00
- uses : actions/checkout@v3
2022-09-13 01:55:03 +00:00
- name : Setup WooCommerce Monorepo
uses : ./.github/actions/setup-woocommerce-monorepo
2022-07-22 00:08:11 +00:00
- name : Execute script
run : ./tools/package-release/bin/dev publish ${{ github.event.inputs.packages }} --branch=${{ github.ref_name }} --skip-install
env :
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}