Skip to content

Commit

Permalink
Merge pull request #9 from sbesson/artifact
Browse files Browse the repository at this point in the history
Extend workflow to upload built JAR as a CI artifact
  • Loading branch information
joshmoore authored Nov 8, 2021
2 parents 578bb27 + f404f5a commit 6ae40f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build
run: mvn ${{ env.maven_commands }}
- name: Upload JAR as artifact
if: matrix.os == 'ubuntu-latest' && matrix.java == '1.8'
uses: actions/upload-artifact@v2
with:
name: ZarrReader
path: target/*
deploy:
if: contains('refs/heads/main', github.ref)
needs: build
Expand Down

0 comments on commit 6ae40f7

Please sign in to comment.