From c3ab13e7d9648d9e944c59b8fc5ff21929c0a524 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 15 Oct 2022 07:29:40 -0700 Subject: [PATCH] gpu-dawn: CI: update action to use env files Signed-off-by: Stephen Gutekanst --- libs/gpu-dawn/.github/workflows/publish_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gpu-dawn/.github/workflows/publish_release.yml b/libs/gpu-dawn/.github/workflows/publish_release.yml index 713ed6f2..855db80a 100644 --- a/libs/gpu-dawn/.github/workflows/publish_release.yml +++ b/libs/gpu-dawn/.github/workflows/publish_release.yml @@ -21,7 +21,7 @@ jobs: # to 'update to latest binary release' instead of the commit we were building. # By doing this, we ensure any update we push would refer to the absolute latest binary # release even if *this* CI run is older. - run: echo "::set-output name=commit::$(git log --oneline | grep -v 'update to latest binary release' | head -n1 | cut -d " " -f1)" + run: echo "recorded_release_version=$(git log --oneline | grep -v 'update to latest binary release' | head -n1 | cut -d " " -f1)" >> $GITHUB_ENV # - name: Publish release # run: echo "TODO(build-system): gh CLI has no way to mark draft as published?" # env: @@ -33,7 +33,7 @@ jobs: token: ${{ secrets.HEXOPS_MACH_GPU_DAWN_PUSH }} - name: 'gpu/dawn: update hard-coded binary release version' env: - RELEASE_COMMIT: ${{steps.recorded_release_version.outputs.commit}} + RELEASE_COMMIT: ${{env.recorded_release_version}} run: | sed -i "/binary_version: \[\]const u8 =/c\ binary_version: []const u8 = \"release-$RELEASE_COMMIT\"," ./libs/gpu-dawn/build.zig - name: 'gpu/dawn: use latest binary release'