Skip to content

Commit

Permalink
ci: short circuit build job to streamline test matrix design
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 28, 2023
1 parent c9486cd commit 1f9b294
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,20 @@ jobs:
with:
java-version: 11
distribution: zulu
- name: build
run: ./build-coatjava.sh --spotbugs --unittests --quiet
- name: tar # tarball to preserve permissions
run: tar czvf coatjava.tar.gz coatjava
# - name: build
# run: ./build-coatjava.sh --spotbugs --unittests --quiet
# - name: tar # tarball to preserve permissions
# run: tar czvf coatjava.tar.gz coatjava
# - uses: actions/upload-artifact@v3
# with:
# name: build_${{ matrix.runner }}
# retention-days: 1
# path: coatjava.tar.gz
- uses: actions/upload-artifact@v3
with:
name: build_${{ matrix.runner }}
retention-days: 1
path: coatjava.tar.gz
path: build-coatjava.sh # short circuit

test_coatjava:
needs: [ build ]
Expand Down

0 comments on commit 1f9b294

Please sign in to comment.