Create a manually triggered workflow to release WooCommerce Beta Tester (#36387)
This commit is contained in:
parent
e9a4d6c9ba
commit
b1f80c1271
|
@ -0,0 +1,34 @@
|
||||||
|
name: WooCommerce Beta Tester Release
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: 'The version number for the release'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Run release scripts
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup WooCommerce Monorepo
|
||||||
|
uses: ./.github/actions/setup-woocommerce-monorepo
|
||||||
|
|
||||||
|
- name: Build WooCommerce Beta Tester Zip
|
||||||
|
working-directory: plugins/woocommerce-beta-tester
|
||||||
|
run: pnpm build:zip
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
id: create_release
|
||||||
|
uses: woocommerce/action-gh-release@master
|
||||||
|
with:
|
||||||
|
tag_name: wc-beta-tester-${{ inputs.version }}
|
||||||
|
name: WooCommerce Beta Tester Release ${{ inputs.version }}
|
||||||
|
draft: false
|
||||||
|
files: plugins/woocommerce-beta-tester/woocommerce-beta-tester.zip
|
Loading…
Reference in New Issue