Skip to content

MCD: calculate channel count based on metadata, not pixel bytes #403

MCD: calculate channel count based on metadata, not pixel bytes

MCD: calculate channel count based on metadata, not pixel bytes #403

Workflow file for this run

---
name: Gradle
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
strategy:
matrix:
java: [8, 11, 17, 21]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
gradle_commands: --stacktrace build
ArtifactoryUserName: ${{ secrets.JENKINS_USERNAME }}
ArtifactoryPassword: ${{ secrets.JENKINS_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: "gradle"
- name: Install libraries
run: |
sudo apt-get install -y libblosc1
- name: Run commands
run: |
./gradlew ${{ env.gradle_commands }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: bioformats2raw ${{ matrix.java }}
path: build/distributions/*.zip
retention-days: 30
- name: Publish artifacts
if: github.event_name != 'pull_request' && matrix.java == 11
run: |
./gradlew -PArtifactoryUserName=${ArtifactoryUserName} -PArtifactoryPassword=${ArtifactoryPassword} publish