From ad780c24eb651dc59f4bdf77d4a78c10d34a66c4 Mon Sep 17 00:00:00 2001 From: "zaid.arain" Date: Wed, 11 Dec 2024 10:13:46 +1100 Subject: [PATCH] chore: re-enable publish workflow triggers --- .github/workflows/publish.yaml | 58 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0e5c8ca03e..ae3ec4c145 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,34 +1,34 @@ name: Publish to NPM -# on: -# workflow_dispatch: -# inputs: -# release_type: -# type: choice -# description: Release Type -# options: -# - alpha -# - release -# required: true -# default: alpha -# upgrade_type: -# type: choice -# description: Upgrade Type -# options: -# - none -# - patch -# - minor -# # - major -# required: false -# default: none -# dry_run: -# type: boolean -# description: "(Optional) Dry run" -# required: false -# default: false -# push: -# branches: -# - main +on: + workflow_dispatch: + inputs: + release_type: + type: choice + description: Release Type + options: + - alpha + - release + required: true + default: alpha + upgrade_type: + type: choice + description: Upgrade Type + options: + - none + - patch + - minor + # - major + required: false + default: none + dry_run: + type: boolean + description: "(Optional) Dry run" + required: false + default: false + push: + branches: + - main env: RELEASE_TYPE: ${{ github.event.inputs.release_type || 'alpha' }}