From 8ab7f473bb50e03b241dbbad89a1bcf1f44fd98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Enrique=20Colina=20Rodr=C3=ADguez?= Date: Thu, 14 Sep 2023 13:22:34 +0200 Subject: [PATCH] feat(cli): Create GHA workflow for creating CLI release. Adds a new workflow for managing CLI release process. Basic workflow that gets input values and it prints them. --- .github/workflows/cli-release-process.yml | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/cli-release-process.yml diff --git a/.github/workflows/cli-release-process.yml b/.github/workflows/cli-release-process.yml new file mode 100644 index 000000000000..7212fddb7156 --- /dev/null +++ b/.github/workflows/cli-release-process.yml @@ -0,0 +1,28 @@ +name: dotCLI Release +on: + workflow_dispatch: + inputs: + version: + description: 'Release version' + required: true + next: + description: 'Next version' + required: false + +defaults: + run: + shell: bash + +jobs: + precheck: + name: Pre-check + runs-on: ubuntu-latest + outputs: + RELEASE_VERSION: ${{ steps.vars.outputs.version }} + NEXT_VERSION: ${{ steps.vars.outputs.next }} + steps: + - name: Print inputs + run: | + echo "RELEASE_VERSION=$RELEASE_VERSION" + echo "NEXT_VERSION=$NEXT_VERSION" +