put build step back
@@ -11,33 +11,33 @@ env:
MAVEN_REPO_CACHE_KEY: ${{ github.run_id }}-maven-${{ github.run_number }}-${{ github.run_number }}-${{ github.sha }}
jobs:
-# build:
-# runs-on: ubuntu-latest
-# steps:
-# - uses: actions/checkout@v2
-# - uses: actions/setup-java@v1
-# with:
-# java-version: 11
-# - run: |
-# mvn install -Dsilent=true -DskipTests=true -Dmaven.javadoc.skip=true -Dchecksyle.skip=true -Dspotbugs.skip=true -Djacoco.skip=true -B
-# mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies -B
-# mvn dependency:go-offline -B
-# mvn dependency:resolve-plugins -B
-# - uses: actions/cache@v1
-# with:
-# path: ~/.m2/repository
-# key: ${{env.MAVEN_REPO_CACHE_KEY}}
-# restore-keys: |
-# ${{env.MAVEN_REPO_CACHE_KEY}}
-# - uses: homoluctus/slatify@v2.1.2
-# if: failure()
-# with:
-# type: ${{job.status}}
-# job_name: Build no checks
-# url: ${{ secrets.SLACK_WEBHOOK }}
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - run: |
+ mvn install -Dsilent=true -DskipTests=true -Dmaven.javadoc.skip=true -Dchecksyle.skip=true -Dspotbugs.skip=true -Djacoco.skip=true -B
+ mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies -B
+ mvn dependency:go-offline -B
+ mvn dependency:resolve-plugins -B
+ - uses: actions/cache@v1
+ with:
+ path: ~/.m2/repository
+ key: ${{env.MAVEN_REPO_CACHE_KEY}}
+ restore-keys: |
+ ${{env.MAVEN_REPO_CACHE_KEY}}
+ - uses: homoluctus/slatify@v2.1.2
+ if: failure()
+ with:
+ type: ${{job.status}}
+ job_name: Build no checks
+ url: ${{ secrets.SLACK_WEBHOOK }}
test:
runs-on: ubuntu-latest
-# needs: build
+ needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -64,7 +64,7 @@ jobs:
itest:
runs-on: ubuntu-latest
-# needs: build
+ needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -88,7 +88,7 @@ jobs:
vaultTests:
runs-on: ubuntu-latest
-# needs: build
+ needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -116,7 +116,7 @@ jobs:
atest:
runs-on: ubuntu-latest
-# needs: build
+ needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -148,7 +148,7 @@ jobs:
slackNotification:
runs-on: ubuntu-latest
- needs: [atest,itest,test,vaultTests]
+ needs: [build,atest,itest,test,vaultTests]
steps:
- uses: homoluctus/slatify@v2.1.2
with:
