File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ jobs:
4444 run : eas --version
4545
4646 - name : 🧪 EAS authenticated
47- if : ${{ env.hasAuth }}
47+ if : ${{ env.hasAuth == 'true' }}
4848 run : eas whoami
4949
5050 - name : 🧪 Expo installed
5151 run : expo --version
5252
5353 - name : 🧪 Expo authenticated
54- if : ${{ env.hasAuth }}
54+ if : ${{ env.hasAuth == 'true' }}
5555 run : expo whoami
5656
5757 preview-comment :
@@ -71,21 +71,23 @@ jobs:
7171 run : expo init -t blank ./temp
7272
7373 - name : 🧪 Without commenting
74+ if : ${{ env.hasAuth == 'true' }}
7475 uses : ./preview-comment
7576 id : preview
7677 with :
7778 project : ./temp
7879 comment : false
7980
8081 - name : 🧪 Output has content
82+ if : ${{ env.hasAuth == 'true' }}
8183 uses : actions/github-script@v5
8284 with :
8385 script : |
8486 const message = `${{ steps.preview.outputs.message }}`
8587 if (!message) throw new Error('Message output is empty')
8688
8789 - name : 🧪 Comment on PR (github-token)
88- if : ${{ env.hasAuth }}
90+ if : ${{ env.hasAuth == 'true' }}
8991 uses : ./preview-comment
9092 env :
9193 EXPO_TEST_GITHUB_PULL : 149
9496 channel : test
9597
9698 - name : 🧪 Comment on PR (GITHUB_TOKEN)
97- if : ${{ env.hasAuth }}
99+ if : ${{ env.hasAuth == 'true' }}
98100 uses : ./preview-comment
99101 env :
100102 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments