Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghactions: Don't upload artifacts multiple times #319

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

cfergeau
Copy link
Collaborator

With the addition of a matrix of go versions to test the build with, the
artifact upload will also be run multiple time. If they run
concurrently, this will cause unexpected upload failures.
Only publish the '1.21.x' artifact.

With the addition of a matrix of go versions to test the build with, the
artifact upload will also be run multiple time. If they run
concurrently, this will cause unexpected upload failures.
Only publish the '1.21.x' artifact.

Signed-off-by: Christophe Fergeau <[email protected]>
@baude
Copy link
Member

baude commented Jan 22, 2024

LGTM

This may help with the failures we are seeing in github actions.

Signed-off-by: Christophe Fergeau <[email protected]>
@praveenkumar
Copy link
Contributor

/lgtm

@@ -29,6 +29,7 @@ jobs:
mv bin/gvproxy.exe bin/gvproxy-windowsgui.exe

- uses: actions/upload-artifact@v3
if: ${{ matrix.go-version }} == '1.21.x'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@praveenkumar praveenkumar merged commit 96795c2 into containers:main Jan 29, 2024
19 of 20 checks passed
Copy link
Contributor

openshift-ci bot commented Jan 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, praveenkumar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants