From d3cc827b4d1aa689861cdc85c42f9626b7a71de9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 6 Dec 2022 12:39:08 -0500 Subject: [PATCH] Switch from set-output tot GITHUB_OUTPUT Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .github/workflows/build-and-test-all.yml | 6 +++--- .github/workflows/builder-dispatch.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 3c90ed7d2c..85122bc26e 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -25,7 +25,7 @@ jobs: - name: get timestamp for cache id: get-stamp run: | - echo "::set-output name=stamp::$(/bin/date +%s)" + echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT" shell: bash - name: let GitHub cache our ccache data uses: actions/cache@v3.0.11 @@ -71,7 +71,7 @@ jobs: - name: get timestamp for cache id: get-stamp run: | - echo "::set-output name=stamp::$(/bin/date +%s)" + echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT" shell: bash - name: let GitHub cache our ccache data uses: actions/cache@v3.0.11 @@ -121,7 +121,7 @@ jobs: - name: get timestamp for cache id: get-stamp run: | - echo "::set-output name=stamp::$(/bin/date +%s)" + echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT" shell: bash - name: let GitHub cache our ccache data uses: actions/cache@v3.0.11 diff --git a/.github/workflows/builder-dispatch.yml b/.github/workflows/builder-dispatch.yml index b8122e89c2..f4f3de09f7 100644 --- a/.github/workflows/builder-dispatch.yml +++ b/.github/workflows/builder-dispatch.yml @@ -49,7 +49,7 @@ jobs: # so that the command remains readable, because jo is simpler to use. - run: sudo apt-get update && sudo apt-get -y install jo - id: get-oslist - run: echo "::set-output name=oslist::"$(jo -a ${{ github.event.inputs.os }}) + run: echo "oslist=$(jo -a ${{ github.event.inputs.os }})" >> "$GITHUB_OUTPUT" build: needs: prepare -- 2.47.2