Skip to content

Commit

Permalink
Merge pull request #202 from jasminabrar/master
Browse files Browse the repository at this point in the history
use GITHUB_ENV instead of set-output
  • Loading branch information
lukasc-ubc committed Jan 24, 2024
2 parents 7c01da0 + 1af8e26 commit cd6f945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
"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 @@ -62,7 +62,7 @@ jobs:
"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 @@ -92,6 +92,6 @@ 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 cd6f945

Please sign in to comment.