Skip to content

Commit 6902cb3

Browse files
authored
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#19)
* ci: Use GITHUB_OUTPUT envvar instead of set-output command * Quote envvar to match documentation
1 parent bcbacaa commit 6902cb3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178
shell: bash
179179
run: |
180180
source create-release.env/create-release.env
181-
echo "::set-output name=upload_url::$UPLOAD_URL"
181+
echo "upload_url=$UPLOAD_URL" >> "$GITHUB_OUTPUT"
182182
id: env
183183
- name: Upload ${{ matrix.name }} Release Asset
184184
uses: actions/[email protected]
@@ -217,7 +217,7 @@ jobs:
217217
# shell: bash
218218
# run: |
219219
# source create-release.env/create-release.env
220-
# echo "::set-output name=upload_url::$UPLOAD_URL"
220+
# echo "upload_url=$UPLOAD_URL" >> "$GITHUB_OUTPUT"
221221
# id: env
222222
# - name: Upload windows Release Asset
223223
# uses: actions/[email protected]

build/.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
shell: bash
166166
run: |
167167
source create-release.env/create-release.env
168-
echo "::set-output name=upload_url::$UPLOAD_URL"
168+
echo "upload_url=$UPLOAD_URL" >> "$GITHUB_OUTPUT"
169169
id: env
170170
- name: Upload ${{ matrix.name }} Release Asset
171171
uses: actions/[email protected]
@@ -204,7 +204,7 @@ jobs:
204204
shell: bash
205205
run: |
206206
source create-release.env/create-release.env
207-
echo "::set-output name=upload_url::$UPLOAD_URL"
207+
echo "upload_url=$UPLOAD_URL" >> "$GITHUB_OUTPUT"
208208
id: env
209209
- name: Upload windows Release Asset
210210
uses: actions/[email protected]

0 commit comments

Comments
 (0)