]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Switch from set-output tot GITHUB_OUTPUT 12284/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 6 Dec 2022 17:39:08 +0000 (12:39 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 6 Dec 2022 17:39:16 +0000 (12:39 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
.github/workflows/build-and-test-all.yml
.github/workflows/builder-dispatch.yml

index 3c90ed7d2cbbda9c9493fec4a40b17666adb2856..85122bc26e34812b4a51cc8507280ed3c4493df0 100644 (file)
@@ -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
index b8122e89c254e90bf73ff458666b7c36459a032f..f4f3de09f7e3e168a27ace45604d1d2605d60b13 100644 (file)
@@ -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