Skip to content

Commit cf1bfc9

Browse files
authored
ci: adapt to GitHub Actions set-output deprecation (#200)
closes #198
1 parent 5f8dce6 commit cf1bfc9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/libs-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
- id: set-libs
3232
name: Set libs var for matrix
3333
## call bb script directly instead of as task to avoid task status output
34-
run: echo "::set-output name=libs::$(bb script/test_libs.clj list --format=json)"
34+
run: echo "libs=$(bb script/test_libs.clj list --format=json)" >> $GITHUB_OUTPUT
3535

3636
libs-test:
3737
needs: enumerate-libs
3838
runs-on: ubuntu-latest
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
lib: ${{fromJSON(needs.enumerate-libs.outputs.libs)}}
42+
lib: ${{ fromJSON(needs.enumerate-libs.outputs.libs) }}
4343

4444
steps:
4545
- uses: actions/checkout@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: bb ci-release commit
6969

7070
- name: Make GitHub Actions aware of target version tag
71-
run: echo "::set-output name=tag::v$(clojure -T:build built-version)"
71+
run: echo "tag=v$(clojure -T:build built-version)" >> $GITHUB_OUTPUT
7272
id: target-version
7373

7474
- name: Create GitHub release (step 4 of 4)

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
- id: set-tests
4141
name: Set test var for matrix
4242
# run test.clj directly instead of via bb task to avoid generic task output
43-
run: echo "::set-output name=tests::$(bb script/ci_unit_tests.clj matrix-for-ci --format=json)"
43+
run: echo "tests=$(bb script/ci_unit_tests.clj matrix-for-ci --format=json)" >> $GITHUB_OUTPUT
4444

4545
build:
4646
needs: setup
4747
runs-on: ${{ matrix.os }}-latest
4848
strategy:
4949
fail-fast: false
5050
matrix:
51-
include: ${{fromJSON(needs.setup.outputs.tests)}}
51+
include: ${{ fromJSON(needs.setup.outputs.tests) }}
5252

5353
name: ${{ matrix.desc }}
5454

0 commit comments

Comments
 (0)