Skip to content

Commit 3d3bce0

Browse files
committed
Use the non-deprecated syntax to set actions output
1 parent 7a474f8 commit 3d3bce0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build_test_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210

211211
- name: Retrieve branch or tag name
212212
id: refvar
213-
run: echo "::set-output name=gitRefName::${GITHUB_REF#refs/*/}"
213+
run: echo "gitRefName=${GITHUB_REF#refs/*/}" >> "${GITHUB_OUTPUT}"
214214

215215
- name: Setup Gradle
216216
uses: gradle/actions/setup-gradle@v4

.github/workflows/openapi_clients.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
echo -e "Automatically update ${{ matrix.language }} client (ref: ${{ github.repository }}@${{ github.sha }})\n" > /tmp/commit-file.txt
6767
echo "Co-authored-by: $GITHUB_ACTOR <[email protected]>" >> /tmp/commit-file.txt
68-
echo "::set-output name=filePath::/tmp/commit-file.txt"
68+
echo "filePath=/tmp/commit-file.txt" >> "${GITHUB_OUTPUT}"
6969
7070
- name: Push ${{ matrix.language }} Client to ${{ matrix.repo }}
7171
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}

0 commit comments

Comments
 (0)