From dad58b76101773d7f8c27344d23844d93ae4cda0 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 11 Dec 2021 11:53:18 +0100 Subject: [PATCH] Disabled env step on publis-swagger workflow --- .github/workflows/publish-swagger-spec.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-swagger-spec.yml b/.github/workflows/publish-swagger-spec.yml index e310aa82..95a6c147 100644 --- a/.github/workflows/publish-swagger-spec.yml +++ b/.github/workflows/publish-swagger-spec.yml @@ -6,9 +6,9 @@ on: version: description: The version to generate required: true - push: - tags: - - 'v*' +# push: +# tags: +# - 'v*' jobs: build: @@ -20,15 +20,13 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Determine version - from input - if: ${{ github.event.inputs.project != '' }} id: determine_version - run: echo "::set-output name=version::$(echo ${{ github.event.inputs.project }})" - shell: bash - - name: Determine version - from env - if: ${{ github.event.inputs.project == '' }} - id: determine_version - run: echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/})" + run: echo "::set-output name=version::${{ github.event.inputs.project }}" shell: bash +# - name: Determine version - from env +# id: determine_version +# run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}" +# shell: bash - name: Use PHP uses: shivammathur/setup-php@v2 with: