From 7883c7f15c82a3e21fbe91cf74bb5d278494e8db Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 13 Nov 2022 16:01:03 +0100 Subject: [PATCH] chore: deprecate set-output https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/default.yml | 2 +- .github/workflows/nightly.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 750b3771d..e9e1621d0 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -101,7 +101,7 @@ jobs: - name: Get NPM cache dir id: npm-cache-dir run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - name: Cache NPM modules uses: actions/cache@v3 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 40ef26225..5e6e863a0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -20,7 +20,7 @@ jobs: continue-on-error: true name: check latest commit is less than a day if: ${{ github.event_name == 'schedule' }} - run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" + run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "should_run=false" >> $GITHUB_OUTPUT call-build-workflow: name: Call Build