From 67a8567cbc3aa7491f16d27851d8ba706cc9e224 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 4 Jun 2021 12:22:10 +0200 Subject: [PATCH] GHA : Skip upload of duplicate artifacts (#7749) Ubuntu using clang is created to make sure the clang compiler works. The artifact name is identical and break the build if two processes upload at the same time. This commit will disable upload of artifact for Ubuntu clang build --- .github/workflows/ResInsightWithCache.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index ae2ad3cf43..e91656e9c4 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -240,6 +240,7 @@ jobs: shell: bash run: | cmakebuild/ApplicationExeCode/ResInsight --unittest + - name: Run pytest if: "matrix.config.build-python-module == true" env: @@ -247,8 +248,10 @@ jobs: run: | cd GrpcInterface/Python/rips ${{ steps.python-path.outputs.PYTHON_EXECUTABLE }} -m pytest --console + - name: Upload artifact uses: actions/upload-artifact@v2 + if: "matrix.config.name != 'Ubuntu Latest clang'" with: name: ResInsight-${{ matrix.config.name }} path: ${{ runner.workspace }}/ResInsight/cmakebuild/install