diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 431267bb4..565843f99 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -8,12 +8,18 @@ jobs: qa: runs-on: ubuntu-latest steps: + - name: Check if secrets are available + run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}" + id: check-secrets - uses: actions/checkout@v2 + if: ${{ steps.check-secrets.outputs.ok == 'true' }} - name: set up JDK 1.8 + if: ${{ steps.check-secrets.outputs.ok == 'true' }} uses: actions/setup-java@v1 with: java-version: 1.8 - name: Build QA + if: ${{ steps.check-secrets.outputs.ok == 'true' }} env: KS_PASS: ${{ secrets.KS_PASS }} KEY_PASS: ${{ secrets.KEY_PASS }}