Merge pull request #1703 from nextcloud/skip-qa-build-if-keystore-not-available

Skip QA build if keystore not available
This commit is contained in:
Tim Krueger 2021-11-17 16:26:14 +01:00 committed by GitHub
commit b407f22043
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 }}