Skip to content

Commit

Permalink
Avoid deprecated ::set-output workflow command.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <anders@zulip.com>
  • Loading branch information
andersk committed Feb 21, 2024
1 parent c024308 commit 983d635
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/local-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
run: npm run test
- name: Package
run: npm run package
- name: Check whether integrations tests should be enabled
id: enable_integration_tests
env:
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
run: |
echo "::set-output name=value::${{ env.ZULIP_API_KEY != '' }}"
- name: Send a stream message
uses: ./send-message
with:
Expand All @@ -32,7 +26,7 @@ jobs:
type: 'stream'
topic: 'github actions'
content: 'I come not, friends, to steal away your hearts.'
if: ${{ steps.enable_integration_tests.outputs.value == 'true' }}
if: ${{ secrets.ZULIP_API_KEY != '' }}
- name: Send a private message
uses: ./send-message
with:
Expand All @@ -42,7 +36,7 @@ jobs:
to: '423060'
type: 'private'
content: 'With mirth and laughter let old wrinkles come.'
if: ${{ steps.enable_integration_tests.outputs.value == 'true' }}
if: ${{ secrets.ZULIP_API_KEY != '' }}
failure:
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 983d635

Please sign in to comment.