Skip to content

Commit

Permalink
Merge pull request #127 from smallstep/jdoss/PRERELEASE_env_var
Browse files Browse the repository at this point in the history
Add support for IS_PRERELEASE.
  • Loading branch information
jdoss authored Aug 13, 2024
2 parents 385a293 + cd498b5 commit 0c61a5e
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 @@ -17,6 +17,10 @@ on:
required: false
type: string
default: 'stable'
is-prerelease:
required: false
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 0c61a5e

Please sign in to comment.