From 312674ff7002cd52d9c98095fa7fe41c4a9e4f12 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Mon, 16 Sep 2024 13:57:31 +0100 Subject: [PATCH] GitHub Actions version upgrade --- .github/workflows/gradle.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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