diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 0f26872..ea8d38d 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -23,12 +23,12 @@ jobs: steps: - name: Connect private iap package uses: webfactory/ssh-agent@v0.8.0 - if: !env.STUB_IAP + if: ${{ !env.STUB_IAP }} with: ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - name: Override iap package with stub - if: env.STUB_IAP + if: ${{ env.STUB_IAP }} run: ./.github/scripts/stub_iap.sh shell: bash