diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index cddb2d47c..9a0dc3ca3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -78,28 +78,28 @@ jobs: if: startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags') && startsWith(matrix.java, '8') uses: actions/upload-artifact@v4 with: - name: artifacts + name: artifacts-${{ matrix.os }}-OMERO 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@v4 with: - name: artifacts + name: artifacts-${{ matrix.os }}-omero_ 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@v4 with: - name: artifacts + name: artifacts-${{ matrix.os }}-insight 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@v4 with: - name: artifacts + name: artifacts-${{ matrix.os }}-importer path: build/packaged/installImporterDist/bundles/* release: @@ -115,7 +115,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: artifacts/* + file: artifacts*/* tag: ${{ github.ref }} overwrite: true file_glob: true