Skip to content

Implement overwrite behavior for skip archive artifact#770

Open
kazutoiris wants to merge 1 commit intoactions:mainfrom
kazutoiris:fix
Open

Implement overwrite behavior for skip archive artifact#770
kazutoiris wants to merge 1 commit intoactions:mainfrom
kazutoiris:fix

Conversation

@kazutoiris
Copy link

Description

This PR fixes the behavior of the upload action when archive is set to false and overwrite is set to true.

Previously, the overwrite logic only deletes existing artifacts by the artifact name.

According to action.yml:

When `archive` is `false`, only a single file can be uploaded. The name of the file will be used as the artifact name (ignoring the `name` parameter).

Therefore, when overwrite: true is enabled, the action must delete the existing artifact using the filename as the artifact name, rather than using the name input parameter (which is ignored).

Related Issues

Fixes #769

When archive is set to false and overwrite is true, it now deletes existing artifact by filename before uploading new one.
@kazutoiris kazutoiris requested a review from a team as a code owner February 28, 2026 03:55
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.

[bug] Fails to overwrite existing artifact when archive is false

1 participant