diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index e6f0294..f5c1657 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: | echo "\ndependency_overrides:\n m3_lightmeter_iap:\n path: iap" >> pubspec.yaml