Skip to content

Commit

Permalink
Pass inputs as env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-kong committed Oct 19, 2023
1 parent f2d007f commit f056db7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/force-release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Force release libsbp
on:
pull_request:
workflow_dispatch:
inputs:
major:
Expand All @@ -12,6 +11,10 @@ on:
patch:
description: 'Semver patch label'
required: true
env:
MAJOR: ${{ github.event.inputs.major }}
MINOR: ${{ github.event.inputs.minor }}
PATCH: ${{ github.event.inputs.patch }}
jobs:
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f056db7

Please sign in to comment.