Skip to content

Commit

Permalink
Merge pull request #281 from jasminabrar/change-set-output
Browse files Browse the repository at this point in the history
Use GITHUB_ENV instead of set-output
  • Loading branch information
lukasc-ubc authored Jan 24, 2024
2 parents 5fc980f + 9c36fe6 commit 2515aa9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Docker_Image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
EBEAM_PDK=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/SiEPIC/SiEPIC_EBeam_PDK/releases/latest" \
| jq -r .tag_name)
echo "::set-output name=ebeampdk::${EBEAM_PDK}"
echo "EBEAM_PDK=$EBEAM_PDK" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -61,8 +61,8 @@ jobs:
SIEPIC_TOOLS=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/SiEPIC/SiEPIC-Tools/releases/latest" \
| jq -r .tag_name)
echo "::set-output name=siepictools::${SIEPIC_TOOLS}"
echo "SIEPIC_TOOLS=$SIEPIC_TOOLS" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -93,5 +93,5 @@ jobs:
with:
context: .
push: true
tags: "${{ steps.meta.outputs.tags }}.${{ steps.ebeampdk.outputs.ebeampdk }}.${{ steps.siepictools.outputs.siepictools}}"
tags: "${{ steps.meta.outputs.tags }}.${{ env.EBEAM_PDK }}.${{ env.SIEPIC_TOOLS }}"
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2515aa9

Please sign in to comment.