final removal of set-output

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

@ -44,17 +44,17 @@ jobs:
command: |
export
- 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
# 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
with:
timeout_minutes: 5
max_attempts: 3
retry_wait_seconds: 120
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
- name: Generate temporary tag name
shell: bash

Loading…
Cancel
Save