Merge pull request #8861 from alvarobrey/skip-QA-for-forks

CI:skip QA build if keystore pass is not available
This commit is contained in:
Tobias Kaminsky 2021-08-19 11:06:50 +02:00 committed by GitHub
commit be4efff7b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}