Skip to content

Update README.md

Update README.md #46

name: Run Pytorch model
on:
push:
branches:
- main
pull_request:
branches: [ main ]
jobs:
build-and-run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest] # macos-10.15,
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- name: Build with Maven
run: mvn install
- name: Run ExampleLoadAndRunModel.java file
shell: bash
run: |
mvn exec:java -Dexec.mainClass=io.bioimage.modelrunner.example.ExampleLoadAndRunModel