From 324f3e30d713271d7ace6a5204fba7857962a6f7 Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Sun, 17 Dec 2023 03:00:41 +0900 Subject: [PATCH] Chore: replace deprecated command with environment file Signed-off-by: Jongwoo Han --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1290c84..8ac801d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,11 +29,12 @@ jobs: id: get_release uses: bruceadams/get-release@v1.2.2 - name: Get matrix - id: get_matrix + id: get_matri + shell: bash run: | TARGETS=${{matrix.TARGETS}} - echo ::set-output name=OS::${TARGETS%/*} - echo ::set-output name=ARCH::${TARGETS#*/} + echo "OS=${TARGETS%/*}" >> $GITHUB_OUTPUT + echo "ARCH=${TARGETS#*/}" >> $GITHUB_OUTPUT - name: Get ldflags id: get_ldflags run: |