mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-22 23:23:42 -06:00
Disabled env step on publis-swagger workflow
This commit is contained in:
parent
23c1dadb4c
commit
dad58b7610
18
.github/workflows/publish-swagger-spec.yml
vendored
18
.github/workflows/publish-swagger-spec.yml
vendored
@ -6,9 +6,9 @@ on:
|
|||||||
version:
|
version:
|
||||||
description: The version to generate
|
description: The version to generate
|
||||||
required: true
|
required: true
|
||||||
push:
|
# push:
|
||||||
tags:
|
# tags:
|
||||||
- 'v*'
|
# - 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -20,15 +20,13 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Determine version - from input
|
- name: Determine version - from input
|
||||||
if: ${{ github.event.inputs.project != '' }}
|
|
||||||
id: determine_version
|
id: determine_version
|
||||||
run: echo "::set-output name=version::$(echo ${{ github.event.inputs.project }})"
|
run: echo "::set-output name=version::${{ 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/})"
|
|
||||||
shell: bash
|
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
|
- name: Use PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user