From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A480A0543; Wed, 12 Oct 2022 18:30:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B1E54282D; Wed, 12 Oct 2022 18:30:06 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 1DEB142829 for ; Wed, 12 Oct 2022 18:30:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665592203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z27RLc9ilwHQuYAV4XhdIjC448RQN2vizTshyz0yN0o=; b=OOgj1RhUaQb3ngjL+B+0EeeEF04F7TDmi/eDllP0Q8R9u+Qs05AMPzXmX8Ez/MAjWYCaxV i/4T5+uDwqQs50YB2W60W7vRp0wrfaIJ3XZzoBlpl2WrzVwTe6KRe/oTrtu5z8Ok7QTN5Z Re0VzGTQDYCQiUd7a5wvuh/TeNX6Anc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-465-Bz6QcKoVNgmUwqHFhwnSEg-1; Wed, 12 Oct 2022 12:30:02 -0400 X-MC-Unique: Bz6QcKoVNgmUwqHFhwnSEg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2FC2C185A794; Wed, 12 Oct 2022 16:30:02 +0000 (UTC) Received: from localhost.localdomain (ovpn-193-115.brq.redhat.com [10.40.193.115]) by smtp.corp.redhat.com (Postfix) with ESMTP id 63CF34EA47; Wed, 12 Oct 2022 16:30:01 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Aaron Conole , Michael Santana Subject: [PATCH 2/2] ci: update to new API for step outputs in GHA Date: Wed, 12 Oct 2022 18:29:42 +0200 Message-Id: <20221012162942.2965188-3-david.marchand@redhat.com> In-Reply-To: <20221012162942.2965188-1-david.marchand@redhat.com> References: <20221012162942.2965188-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org GitHub actions deprecated use of set-output, replaced with GITHUB_OUTPUT. Note: we still have some warnings, as of today, because of actions/cache@v3 which did not migrate yet. Signed-off-by: David Marchand --- .github/workflows/build.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 187fdef306..b32758ff6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,12 +86,9 @@ jobs: - name: Generate cache keys 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@v3 with: @@ -177,8 +174,7 @@ jobs: - name: Generate various keys 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 uses: actions/cache@v3 @@ -239,12 +235,9 @@ jobs: - name: Generate various keys 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 uses: actions/cache@v3 -- 2.37.3