Skip to content

Commit

Permalink
Replace AppVeyor by GitHub actions
Browse files Browse the repository at this point in the history
Build on JDK 11 and JDK 17 and upload the build artifacts
  • Loading branch information
sbesson committed Mar 18, 2024
1 parent a9350c5 commit 2a8a1e8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Gradle

on:
push:
pull_request:

jobs:
build:
strategy:
matrix:
java: [11, 17, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Run commands
run: |
./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: omero-ms-image-region ${{ matrix.java }}
path: build/distributions/*
17 changes: 0 additions & 17 deletions appveyor.yml

This file was deleted.

0 comments on commit 2a8a1e8

Please sign in to comment.