File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,12 +122,12 @@ jobs:
122122 - name : Set sonar artifact name
123123 # For the core library, where the project directory is '.', we'll use "core" as artifact name.
124124 # For the modules, we'll remove the slashes, keeping the name of the module
125- if : ${{ github.ref_name == 'main' && github.repository_owner == 'testcontainers' && inputs.run-tests && !inputs.rootless-docker && !inputs.ryuk-disabled }}
125+ if : ${{ github.ref_name == 'main' && github.repository_owner == 'testcontainers' && inputs.platform == 'ubuntu-latest' && inputs. run-tests && !inputs.rootless-docker && !inputs.ryuk-disabled }}
126126 run : |
127127 echo "ARTIFACT_NAME=$(basename ${{ inputs.project-directory == '.' && 'core' || inputs.project-directory }})-${{ inputs.go-version }}-${{ inputs.platform }}" >> $GITHUB_ENV
128128
129129 - name : Upload SonarCloud files
130- if : ${{ github.ref_name == 'main' && github.repository_owner == 'testcontainers' && inputs.run-tests && !inputs.rootless-docker && !inputs.ryuk-disabled }}
130+ if : ${{ github.ref_name == 'main' && github.repository_owner == 'testcontainers' && inputs.platform == 'ubuntu-latest' && inputs. run-tests && !inputs.rootless-docker && !inputs.ryuk-disabled }}
131131 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
132132 with :
133133 name : sonarcloud-${{ env.ARTIFACT_NAME }}
You can’t perform that action at this time.
0 commit comments