From 1174775c246898416490d9518ae0e5cfd894e770 Mon Sep 17 00:00:00 2001 From: Lee Read Date: Fri, 21 Oct 2022 14:03:57 -0400 Subject: [PATCH] ci: adapt to GitHub actions set-output deprecation (#502) Closes #501 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bc0783b..5bc103c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: run: bb ci-release commit - name: Make GitHub Actions aware of target version tag - run: echo "::set-output name=tag::v$(bb clojure -T:build built-version)" + run: echo "tag=v$(bb clojure -T:build built-version)" >> $GITHUB_OUTPUT id: target-version - name: Create GitHub release (step 4 of 4) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce24cdda..3dca3d7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: - id: set-tests name: Set test var for matrix # run test.clj directly instead of via bb task to avoid generic task output - run: echo "::set-output name=tests::$(bb script/test.clj matrix-for-ci --format=json)" + run: echo "tests=$(bb script/test.clj matrix-for-ci --format=json)" >> $GITHUB_OUTPUT build: needs: setup