Check dependencies before release
@@ -12,8 +12,17 @@ env:
GPG_SECRET_KEYS: ${{ secrets.GPG_SECRET_KEYS }}
jobs:
+ checkdependencies:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - run: ./gradlew dependencyCheckAnalyze -x test
release:
- runs-on: [ubuntu-latest]
+ needs: checkdependencies
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
