diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-01 15:21:27 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-01 15:39:23 +0900 |
| commit | a356dceedf0be29ae584866e540872ec1c048f59 (patch) | |
| tree | 45a85d0514fd60d923dd780caf2204f562d33e28 /internal/workflows/step.go | |
| parent | b0fa39b560d2caaaf0708c0828ae191311aee971 (diff) | |
internal/workflows: migrate release workflow
This also migrates from the unmaintained release action and improves
configuration so the new release is created as a draft, and the tag
annotation is automatically added as the release body.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/step.go')
| -rw-r--r-- | internal/workflows/step.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/workflows/step.go b/internal/workflows/step.go index c0138926..423a48ff 100644 --- a/internal/workflows/step.go +++ b/internal/workflows/step.go @@ -20,10 +20,10 @@ func newUploadArtifact(display, name string) Step { Uses: "actions/upload-artifact@v3", With: Map[any]{ - {K: "name", V: name}, - {K: "path", V: "result/*"}, + {"name", name}, + {"path", "result/*"}, - {K: "retention-days", V: 1}, + {"retention-days", 1}, }, } } |
