Skip to content

Commit

Permalink
Add support for IS_PRERELEASE.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoss committed Aug 13, 2024
1 parent 385a293 commit 96cf53e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
required: false
type: boolean
default: false

goprivate:
required: false
type: string
Expand All @@ -17,6 +18,9 @@ on:
required: false
type: string
default: 'stable'
is-prerelease:
type: boolean
default: true
os-dependencies:
required: false
type: string
Expand Down Expand Up @@ -65,6 +69,8 @@ jobs:
GOPRIVATE: ${{ inputs.goprivate }}
GPG_PRIVATE_KEY_FILE: "0x889B19391F774443-Certify.key"
steps:
- name: Set IS_PRERELEASE
run: echo "IS_PRERELEASE=${{ inputs.is-prerelease }}" >> $GITHUB_ENV
- name: Install Dependencies # Some dependencies require this package
if: ${{ inputs.os-dependencies != '' }}
run: |
Expand Down

0 comments on commit 96cf53e

Please sign in to comment.