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
This commit is contained in:
Magne Sjaastad
2021-06-04 12:22:10 +02:00
committed by GitHub
parent 7ecd9b462a
commit 67a8567cbc

View File

@@ -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