Skip to content

Commit

Permalink
Fix use of deprecated set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoRoth committed Oct 26, 2022
1 parent 55651b7 commit ba6ffed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Set Names
id: names
run: |
echo "::set-output name=name::ghcr.io/oggm/oggm"
echo "::set-output name=date::$(date +%Y%m%d)"
echo "::set-output name=sha::$GITHUB_SHA"
echo "name=ghcr.io/oggm/oggm" >> $GITHUB_OUTPUT
echo "date=$(date +%Y%m%d)" >> $GITHUB_OUTPUT
echo "sha=$GITHUB_SHA" >> $GITHUB_OUTPUT
- name: Stop Commands
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
- name: Build image
Expand Down

0 comments on commit ba6ffed

Please sign in to comment.