From 4b1f6859f76cae9feb4865b66c19cb487699b903 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Sat, 21 Jan 2023 17:11:32 +0000 Subject: [PATCH 1/3] copy resolver. no longer working with ant 1.10 --- components/bundles/bioformats_package/build.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/components/bundles/bioformats_package/build.xml b/components/bundles/bioformats_package/build.xml index 7834caa9995..e23919bdd2a 100644 --- a/components/bundles/bioformats_package/build.xml +++ b/components/bundles/bioformats_package/build.xml @@ -6,15 +6,26 @@ Download Apache Ant from http://ant.apache.org/. Type "ant -p" for a list of targets. --> - + Build file for Bio-Formats bundle - + + ----------=========== Javadocs ===========---------- + + + + + + + + + + From 0c6228706044dc35498ce518ccee6e05ef84422c Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Sat, 21 Jan 2023 17:25:19 +0000 Subject: [PATCH 2/3] create and publish artifacts --- .github/workflows/release.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000000..8886e06f13a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +name: "Build and push artifacts" +on: + push: + tags: + - '*' + +jobs: + build: + name: Release artifacts + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: 8 + distribution: 'zulu' + - name: Build artifacts + run: | + ./tools/test-build ant + ant release docs + - name: Create a release and upload Release Assets + run: | + cd artifacts + sha256sum ./*.zip >> SHASUMS + sha256sum ./*.jar >> SHASUMS + sha256sum ./*.xz >> SHASUMS + sha256sum ./*.gz >> SHASUMS + tag_name="${GITHUB_REF##*/}" + gh release create "$tag_name" ./*.zip ./*.jar ./*.xz ./*.gz SHASUMS + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 68df260bfe5944abe17e1fabcc83450a11baca17 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Mon, 23 Jan 2023 15:30:37 +0000 Subject: [PATCH 3/3] build javadocs on push --- .github/workflows/ant.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index 9179c3ba4ec..3338277225d 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -17,4 +17,6 @@ jobs: with: java-version: ${{ matrix.java }} - name: Build with Ant - run: ./tools/test-build ant + run: | + ./tools/test-build ant + ant docs