Skip to content

Commit

Permalink
use GITHUB_ENV instead of set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
jasminabrar authored Jan 24, 2024
1 parent 7c01da0 commit 1af8e26
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 1af8e26

Please sign in to comment.