final removal of set-output

pull/200/head 4.5.1-1-01
binhex 2 years ago
parent 606b0a00fc
commit c37183048a

@ -44,17 +44,17 @@ jobs:
command: | command: |
export export
- name: Identify GitHub Release tag name - name: Identify GitHub Release tag name
# get tag name from runners environment 'GITHUB_REF' and then use bash substring # get tag name from runners environment 'GITHUB_REF_NAME' and then use bash substring
# to strip out '+' symbol - required due to gcr not supporting this as a tag # to strip out '+' symbol - required due to gcr not supporting this as a tag
# name (docker hub does support it). # name (docker hub does support it).
# note if push is NOT triggered by tag then 'GITHUB_REF' will be the branch name. # note if push is NOT triggered by tag then 'GITHUB_REF_NAME' will be the branch name.
uses: nick-fields/retry@v2 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 5 timeout_minutes: 5
max_attempts: 3 max_attempts: 3
retry_wait_seconds: 120 retry_wait_seconds: 120
command: | command: |
echo "##[set-output name=tag;]$(tag_name=${GITHUB_REF#refs/tags/} && echo "${tag_name//+/-}")" tag="${GITHUB_REF_NAME}" && echo "tag=${tag//+/-}" >> $GITHUB_OUTPUT
id: identify_github_release_tag_name id: identify_github_release_tag_name
- name: Generate temporary tag name - name: Generate temporary tag name
shell: bash shell: bash

Loading…
Cancel
Save