File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 16
16
run : npm run test
17
17
- name : Package
18
18
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 != '' }}"
25
19
- name : Send a stream message
26
20
uses : ./send-message
27
21
with :
32
26
type : ' stream'
33
27
topic : ' github actions'
34
28
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 != ' ' }}
36
30
- name : Send a private message
37
31
uses : ./send-message
38
32
with :
42
36
to : ' 423060'
43
37
type : ' private'
44
38
content : ' With mirth and laughter let old wrinkles come.'
45
- if : ${{ steps.enable_integration_tests.outputs.value == 'true ' }}
39
+ if : ${{ secrets.ZULIP_API_KEY != ' ' }}
46
40
failure :
47
41
runs-on : ubuntu-20.04
48
42
steps :
You can’t perform that action at this time.
0 commit comments