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

ENH: Fix artifact upload naming conflict #229

Merged

Conversation

jhlegarreta
Copy link
Contributor

Fix artifact upload naming conflict:

  • Add the label of the required version mode to the artifact name.
  • Pin action version.

In v4, artifacts are immutable (unless deleted), so each of the uploaded artifacts needs to have a different name.

Fixes:

Error: Failed to CreateArtifact: Received non-retryable error:
Failed request: (409) Conflict:
an artifact with this name already exists on the workflow run

raised for example in
https://github.com/SlicerDMRI/whitematteranalysis/actions/runs/7407939750

Fix artifact upload naming conflict:
- Add the label of the required version mode to the artifact name.
- Pin action version.

In v4, artifacts are immutable (unless deleted), so each of the uploaded
artifacts needs to have a different name.

Fixes:
```
Error: Failed to CreateArtifact: Received non-retryable error:
Failed request: (409) Conflict:
an artifact with this name already exists on the workflow run
```

raised for example in
https://github.com/SlicerDMRI/whitematteranalysis/actions/runs/7407939750
@jhlegarreta
Copy link
Contributor Author

Cross-referencing #226 (comment).

@jhlegarreta jhlegarreta merged commit 165cfcd into SlicerDMRI:master Jan 8, 2024
10 checks passed
@jhlegarreta jhlegarreta deleted the FixArtifactUploadNamingConflict branch January 8, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant