diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 78be1d4b6..cddb2d47c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -76,28 +76,28 @@ jobs: shell: bash - name: Upload zip and jar if: startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags') && startsWith(matrix.java, '8') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: artifacts path: build/distributions/OMERO* if-no-files-found: error - name: Upload jar if: startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags') && startsWith(matrix.java, '8') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: artifacts path: build/libs/omero_* if-no-files-found: error - name: Upload insight artifacts if: startsWith(matrix.os, 'windows') && startsWith(github.ref, 'refs/tags') && startsWith(matrix.java, '8') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: artifacts path: build/packaged/main/bundles/* if-no-files-found: error - name: Upload importer artifacts if: startsWith(matrix.os, 'windows') && startsWith(github.ref, 'refs/tags') && startsWith(matrix.java, '8') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: artifacts path: build/packaged/installImporterDist/bundles/* @@ -108,7 +108,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifacts from build - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 - name: List artifacts run: ls -R - name: Upload binaries to release