Skip to content

Commit

Permalink
switch from stdout to $GITHUB_OUTPUT file for set-output steps
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzevzl authored and alexeh committed Mar 1, 2023
1 parent 46274fd commit d7c470a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "branch-upper=$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )" >> $GITHUB_OUTPUT
id: extract_branch

- name: Redeploy production pods
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/publish-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "branch-upper=$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )" >> $GITHUB_OUTPUT
id: extract_branch

- name: Build API Docker image
Expand Down Expand Up @@ -117,8 +117,8 @@ jobs:
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "branch-upper=$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )" >> $GITHUB_OUTPUT
id: extract_branch

- name: Build Client Docker image
Expand Down Expand Up @@ -168,8 +168,8 @@ jobs:
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "branch-upper=$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )" >> $GITHUB_OUTPUT
id: extract_branch

- name: Build Data Import Docker image
Expand Down Expand Up @@ -210,8 +210,8 @@ jobs:
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "branch-upper=$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )" >> $GITHUB_OUTPUT
id: extract_branch

- name: Build Tiler Docker image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-marketing-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "branch-upper=$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )" >> $GITHUB_OUTPUT
id: extract_branch

- name: Build Marketing site Docker image
Expand Down

0 comments on commit d7c470a

Please sign in to comment.