Skip to content

Commit

Permalink
migrate set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickuhlmann committed Jun 10, 2023
1 parent ccbea55 commit d7613f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_deploy_azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
Expand All @@ -46,8 +46,8 @@ jobs:
- name: get date and revision
id: date_and_rev
run: |
echo ::set-output name=revision::sha-${GITHUB_SHA::8}
echo ::set-output name=created::$(date -u +'%d.%m.%Y %H:%M:%S')
echo "revision=sha-${GITHUB_SHA::8}" >> $GITHUB_OUTPUT
echo "created=$(date -u +'%d.%m.%Y %H:%M:%S')" >> $GITHUB_OUTPUT
- name: set env variables
run: |
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
needs: build_and_test
steps:
- name: get existing build number
uses: zyborg/gh-action-buildnum@v1.2.0
uses: zyborg/gh-action-buildnum@v1
id: lastBuildNum
with:
gist_token: ${{ secrets.GIST_TOKEN }}
Expand Down

0 comments on commit d7613f7

Please sign in to comment.