patch 'ci: update to new API for step outputs in GHA' has been queued to stable release 21.11.3
Kevin Traynor
ktraynor at redhat.com
Wed Nov 23 19:03:40 CET 2022
Hi,
FYI, your patch has been queued to stable release 21.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/28/22. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/fd7eb800f4f3dce7ec9c092c477810d9276251c1
Thanks.
Kevin
---
>From fd7eb800f4f3dce7ec9c092c477810d9276251c1 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Wed, 12 Oct 2022 18:29:42 +0200
Subject: [PATCH] ci: update to new API for step outputs in GHA
[ upstream commit 1e249e0b47456b164a3139cdc85dc0ea20cbfeff ]
GitHub actions deprecated use of set-output [1], replaced with
GITHUB_OUTPUT.
1: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
.github/workflows/build.yml | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a715a7d455..21414e9c17 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -78,10 +78,7 @@ jobs:
id: get_ref_keys
run: |
- echo -n '::set-output name=ccache::'
- echo 'ccache-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-'$(date -u +%Y-w%W)
- echo -n '::set-output name=libabigail::'
- echo 'libabigail-${{ matrix.config.os }}'
- echo -n '::set-output name=abi::'
- echo 'abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.LIBABIGAIL_VERSION }}-${{ env.REF_GIT_TAG }}'
+ echo 'ccache=ccache-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-'$(date -u +%Y-w%W) >> $GITHUB_OUTPUT
+ echo 'libabigail=libabigail-${{ matrix.config.os }}' >> $GITHUB_OUTPUT
+ echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.LIBABIGAIL_VERSION }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT
- name: Retrieve ccache cache
uses: actions/cache at v3
--
2.38.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-11-23 09:55:57.736894718 +0000
+++ 0027-ci-update-to-new-API-for-step-outputs-in-GHA.patch 2022-11-23 09:55:57.067149302 +0000
@@ -1 +1 @@
-From 1e249e0b47456b164a3139cdc85dc0ea20cbfeff Mon Sep 17 00:00:00 2001
+From fd7eb800f4f3dce7ec9c092c477810d9276251c1 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 1e249e0b47456b164a3139cdc85dc0ea20cbfeff ]
+
@@ -11,2 +12,0 @@
-Cc: stable at dpdk.org
-
@@ -15,2 +15,2 @@
- .github/workflows/build.yml | 21 +++++++--------------
- 1 file changed, 7 insertions(+), 14 deletions(-)
+ .github/workflows/build.yml | 9 +++------
+ 1 file changed, 3 insertions(+), 6 deletions(-)
@@ -19 +19 @@
-index e27a2642c8..82d83f4030 100644
+index a715a7d455..21414e9c17 100644
@@ -22 +22 @@
-@@ -67,10 +67,7 @@ jobs:
+@@ -78,10 +78,7 @@ jobs:
@@ -36,22 +35,0 @@
-@@ -158,6 +155,5 @@ jobs:
- id: get_keys
- run: |
-- echo -n '::set-output name=image::'
-- echo 'image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d)
-+ echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT
- - name: Retrieve image cache
- id: image_cache
-@@ -212,10 +208,7 @@ jobs:
- id: get_keys
- run: |
-- echo -n '::set-output name=ccache::'
-- echo 'ccache-${{ matrix.config.image }}-${{ matrix.config.compiler }}-'$(date -u +%Y-w%W)
-- echo -n '::set-output name=image::'
-- echo 'image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d)
-- echo -n '::set-output name=logs::'
-- echo 'meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':'
-+ echo 'ccache=ccache-${{ matrix.config.image }}-${{ matrix.config.compiler }}-'$(date -u +%Y-w%W) >> $GITHUB_OUTPUT
-+ echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT
-+ echo 'logs=meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':' >> $GITHUB_OUTPUT
- - name: Retrieve image cache
- id: image_cache
More information about the stable
mailing list