File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 48
48
${{ runner.os }}-node-
49
49
- name : Build Koski app + tests
50
50
if : steps.lookup.outputs.cache-hit != 'true'
51
- run : mvn test -DskipTests=true --batch-mode
51
+ env :
52
+ version : ${{ inputs.commithash }}
53
+ run : |
54
+ mvn versions:set -DnewVersion="$version" --batch-mode
55
+ mvn test -DskipTests=true --batch-mode
52
56
shell : bash
53
57
- name : Cache target dir
54
58
if : steps.lookup.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 86
86
version : ${{ inputs.commithash }}
87
87
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88
88
run : |
89
- mvn versions:set -DnewVersion="$version"
89
+ mvn versions:set -DnewVersion="$version" --batch-mode
90
90
mvn war:war deploy:deploy --batch-mode -Dmaven.skip.install=true -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/Opetushallitus/koski
91
91
92
92
- name : Build, tag, and push image to Amazon ECR
You can’t perform that action at this time.
0 commit comments