Skip to content

Commit 61c783f

Browse files
fix: set-output command
1 parent e9083d6 commit 61c783f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525
- name: Fetch Library version
2626
id: vars
27-
run: echo libVersion::${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
27+
run: echo libVersion=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
2828
- name: benchmark test
2929
if: ${{ success() }}
3030
run: ./gradlew clean setLibraryVersion benchmark
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/checkout@v4
4242
- name: Set output
4343
id: vars
44-
run: echo tag::${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
44+
run: echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
4545
- name: Set up Java
4646
uses: actions/setup-java@v4
4747
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
uses: actions/checkout@v4
6161
- name: Fetch Library version
6262
id: vars
63-
run: echo libVersion::${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
63+
run: echo libVersion=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
6464
- name: benchmark test
6565
if: ${{ success() }}
6666
run: ./gradlew clean setLibraryVersion benchmark

0 commit comments

Comments
 (0)