Skip to content

Commit

Permalink
Support archive format input (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored May 3, 2024
1 parent c1398e6 commit 1b128bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/shared-go-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
required: false
default: true
type: boolean
format:
description: Artifcats format. Valid: `tar.gz`, `tgz`, `tar.xz,` `txz`, `tar.zst`, `tar`, `gz`, `zip`, `binary`.
required: false
default: "zip"
type: string

outputs:
id:
Expand Down Expand Up @@ -159,6 +164,7 @@ jobs:
version: latest
args: release --config ${{ steps.go-releaser-config.outputs.path }} --clean --parallelism 2 --timeout 180m
env:
ARCHIVES_FORMAT: {{ inputs.format }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ steps.github-app.outputs.token }}

Expand Down

0 comments on commit 1b128bb

Please sign in to comment.