Skip to content

Commit

Permalink
Merge pull request #974 from slaclab/ESROGUE-638
Browse files Browse the repository at this point in the history
Update workflow to avoid deprecated set-output command
  • Loading branch information
slacrherbst authored Sep 20, 2023
2 parents d474399 + 893669b commit 6d3428a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/rogue_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Get Image Information
id: get_image_info
run: |
echo ::set-output name=tag::`git describe --tags`
echo tag=`git describe --tags` >> ${GITHUB_OUTPUT}
- name: Get Ruckus
run: |
Expand Down Expand Up @@ -192,8 +192,7 @@ jobs:
env:
CONDA_UPLOAD_TOKEN_TAG: ${{ secrets.CONDA_UPLOAD_TOKEN_TAG }}
run: |
echo ::set-output name=token::$CONDA_UPLOAD_TOKEN_TAG
echo ::set-output name=os::linux-64
echo token=${CONDA_UPLOAD_TOKEN_TAG} >> ${GITHUB_OUTPUT}
- name: Build
run: |
Expand Down Expand Up @@ -222,8 +221,8 @@ jobs:
- name: Get Image Information
id: get_image_info
run: |
echo ::set-output name=tag::`git describe --tags`
echo ::set-output name=branch::`echo ${GITHUB_REF} | awk 'BEGIN { FS = "/" } ; { print $3 }'`
echo tag=`git describe --tags` >> ${GITHUB_OUTPUT}
echo branch=`echo ${GITHUB_REF} | awk 'BEGIN { FS = "/" } ; { print $3 }'` >> ${GITHUB_OUTPUT}
# Setup docker build environment
- name: Set up Docker Buildx
Expand Down

0 comments on commit 6d3428a

Please sign in to comment.