diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 10f4f06..28e6916 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,6 +6,8 @@ name: Java CI with Maven on: push: branches: [ master ] + tags: + - '*' pull_request: branches: [ master ] @@ -15,13 +17,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 with: architecture: x64 python-version: 3.8 - name: Setup Java JDK - uses: actions/setup-java@v2.1.0 + uses: actions/setup-java@v4 with: java-version: 8 distribution: adopt @@ -32,10 +34,16 @@ jobs: - name: Build Python package run: python setup.py sdist - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: # Artifact name - name: prokaryote-2.4.4.tar.gz + name: prokaryote-2.4.5.tar.gz path: dist/ + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: dist/*tar.gz + diff --git a/pom.xml b/pom.xml index 9525540..b2eed2e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,8 +4,14 @@ 4.0.0 org.cellprofiler prokaryote - 2.4.4 + 2.4.5 + + org.scijava + scijava-common + 2.56.0 + + org.apache.commons commons-lang3 @@ -14,7 +20,7 @@ ome formats-gpl - 5.7.1 + 7.3.1