Skip to content

Commit

Permalink
Merge #4550
Browse files Browse the repository at this point in the history
4550: Use environment files in Github Actions r=newhoggy a=newhoggy

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Co-authored-by: John Ky <john.ky@iohk.io>
  • Loading branch information
iohk-bors[bot] and newhoggy committed Oct 27, 2022
2 parents d77fe6b + 7a2e49a commit 99f7949
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
ghc --version
cabal --version
echo "::set-output name=cabal-store::$(cabal --help | tail -1 | tr -d ' ' | rev | cut -d '/' -f2- | rev)\\store"
echo "cabal-store=$(cabal --help | tail -1 | tr -d ' ' | rev | cut -d '/' -f2- | rev)\\store" >> $GITHUB_OUTPUT
- name: Set cache version
run: echo "CACHE_VERSION=grFfw8r" >> $GITHUB_ENV
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
cabal build all --dry-run
cat ${{ env.PLAN_JSON }} | jq -r '."install-plan"[].id' | sort | uniq > dependencies.txt
date > date.txt
echo "::set-output name=weeknum::$(/bin/date -u "+%W")"
echo "weeknum=$(/bin/date -u "+%W")" >> $GITHUB_OUTPUT
- name: Cache Cabal store
uses: actions/cache@v2
Expand Down Expand Up @@ -270,7 +270,8 @@ jobs:

- name: Create Release Tag
id: create_release_tag
run: echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
run:
echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

- name: Create Release
id: create_release
Expand Down

0 comments on commit 99f7949

Please sign in to comment.