From 9024bfcfd93e82a30212785ee28d74e6860e2744 Mon Sep 17 00:00:00 2001 From: haslinghuis Date: Sat, 12 Nov 2022 10:38:55 +0100 Subject: [PATCH] Update workflow (#11938) --amend --- .github/workflows/ci.yml | 5 ++--- .github/workflows/nightly.yml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de1b32fd0..d811dc242 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,7 @@ jobs: - name: Get all official build targets id: get-targets - run: echo "::set-output name=targets::$(make targets-ci-print | jq -R -c 'split(" ")')" - + run: echo "targets=$(make targets-ci-print | jq -R -c 'split(" ")')" >> $GITHUB_OUTPUT - name: Cache build toolchain uses: actions/cache@v3 id: cache-toolchain @@ -45,7 +44,7 @@ jobs: target: ${{ fromJson(needs.setup.outputs.targets) }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Fetch toolchain from cache uses: actions/cache@v3 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5ec2c0af5..fe504f92d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -41,11 +41,11 @@ jobs: id: notes run: | set -- Assets/*.hex - echo "::set-output name=notes::$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')" + echo "notes=$(test -e "$1" && echo '${{ env.debug_release_notes }}' || echo '${{ env.release_notes }}')" >> $GITHUB_OUTPUT - name: Get current date id: date - run: echo "::set-output name=today::$(date '+%Y%m%d')" + run: echo "today=$(date '+%Y%m%d')" >> $GITHUB_OUTPUT - name: Release uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14 -- 2.11.4.GIT