Skip to content

Commit afc8d77

Browse files
authored
Merge pull request #30 from sbesson/appveyor2ghworkflows
Migrated to GitHub actions
2 parents 4070cef + 85b6316 commit afc8d77

File tree

10 files changed

+219
-276
lines changed

10 files changed

+219
-276
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Gradle
3+
4+
on:
5+
push:
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
strategy:
11+
matrix:
12+
java: [8, 11, 17, 21]
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up JDK ${{ matrix.java }}
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: ${{ matrix.java }}
20+
distribution: 'zulu'
21+
- name: Run commands
22+
run: |
23+
./gradlew build
24+
- name: Upload artifacts
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: omero-ms-thumbnail ${{ matrix.java }}
28+
path: build/distributions/*

.github/workflows/dockerpublish.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

Dockerfile

Lines changed: 0 additions & 54 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![AppVeyor status](https://ci.appveyor.com/api/projects/status/github/omero-ms-thumbnail)](https://ci.appveyor.com/project/gs-jenkins/omero-ms-thumbnail)
2-
31
OMERO Thumbnail Microservice
42
============================
53

@@ -30,9 +28,11 @@ workflow::
3028
Build Artifacts
3129
===============
3230

33-
The latest artifacts, built by AppVeyor, can be found here::
31+
The latest release artifacts are available as assets from
32+
https://github.com/glencoesoftware/omero-ms-thumbnail/releases.
3433

35-
* https://ci.appveyor.com/project/gs-jenkins/omero-ms-thumbnail/build/artifacts
34+
The latest CI artifacts built by GitHub Actions can be downloaded from
35+
https://github.com/glencoesoftware/omero-ms-thumbnail/actions.
3636

3737
Configuring and Running the Server
3838
==================================

appveyor.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,16 @@ dependencies {
7878
jar {
7979
manifest {
8080
attributes(
81+
"Created-By": "Gradle ${gradle.gradleVersion}",
82+
"Build-Jdk": "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
83+
"Built-By": System.properties['user.name'],
84+
"Built-On": new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
85+
"Implementation-Build": "git rev-parse --verify HEAD".execute().getText().trim(),
86+
"Implementation-Title": "OMERO Thumbnail Microservice",
87+
"Implementation-Version": archiveVersion,
88+
"Implementation-Vendor": "Glencoe Software Inc.",
8189
"Main-Class": mainClassName,
8290
"Main-Verticle": "com.glencoesoftware.omero.ms.thumbnail.ThumbnailMicroserviceVerticle",
83-
"Implementation-Version": archiveVersion
8491
)
8592
}
8693
}

gradle/wrapper/gradle-wrapper.jar

2.81 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)