dont bother with build step as preacaching/building idea created reliability problems (the cache thing didn't seem to work).
@@ -11,34 +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 -v
- 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
@@ -65,7 +64,7 @@ jobs:
itest:
runs-on: ubuntu-latest
- needs: build
+# needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -89,7 +88,7 @@ jobs:
vaultTests:
runs-on: ubuntu-latest
- needs: build
+# needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -117,7 +116,7 @@ jobs:
atest:
runs-on: ubuntu-latest
- needs: build
+# needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
@@ -149,7 +148,7 @@ jobs:
slackNotification:
runs-on: ubuntu-latest
- needs: [build,atest,itest,test,vaultTests]
+ needs: [atest,itest,test,vaultTests]
steps:
- uses: homoluctus/slatify@v2.1.2
with:
