Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ jobs:
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- 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
if: matrix.os == 'ubuntu-latest' && matrix.java == '8'
uses: actions/upload-artifact@v4
with:
name: ZarrReader
path: target/*.jar
if-no-files-found: error
deploy_snapshots:
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'ome' }}
needs: build
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Retrieve version
id: get_version
run: |
Expand All @@ -86,7 +88,7 @@ jobs:
echo server='ome.releases' >> $GITHUB_OUTPUT
fi
- name: Set up Repository
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'zulu'
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
<configuration>
<attach>false</attach>
<appendAssemblyId>true</appendAssemblyId>
Expand Down