Skip to content

Commit 983d635

Browse files
committed
Avoid deprecated ::set-output workflow command.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent c024308 commit 983d635

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/local-test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ jobs:
1616
run: npm run test
1717
- name: Package
1818
run: npm run package
19-
- name: Check whether integrations tests should be enabled
20-
id: enable_integration_tests
21-
env:
22-
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
23-
run: |
24-
echo "::set-output name=value::${{ env.ZULIP_API_KEY != '' }}"
2519
- name: Send a stream message
2620
uses: ./send-message
2721
with:
@@ -32,7 +26,7 @@ jobs:
3226
type: 'stream'
3327
topic: 'github actions'
3428
content: 'I come not, friends, to steal away your hearts.'
35-
if: ${{ steps.enable_integration_tests.outputs.value == 'true' }}
29+
if: ${{ secrets.ZULIP_API_KEY != '' }}
3630
- name: Send a private message
3731
uses: ./send-message
3832
with:
@@ -42,7 +36,7 @@ jobs:
4236
to: '423060'
4337
type: 'private'
4438
content: 'With mirth and laughter let old wrinkles come.'
45-
if: ${{ steps.enable_integration_tests.outputs.value == 'true' }}
39+
if: ${{ secrets.ZULIP_API_KEY != '' }}
4640
failure:
4741
runs-on: ubuntu-20.04
4842
steps:

0 commit comments

Comments
 (0)