Skip to content

Commit

Permalink
Modify release workflow to have tag/release version as required input (
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino authored Sep 30, 2024
1 parent 6ffd239 commit 443351c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-balena-disk-image.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
name: Build Balena Disk Images
on: workflow_dispatch
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to be used for the release'
required: true
type: string
commit:
description: 'Commit or branch name'
required: false
type: string
default: 'master'

jobs:
balena-build-images:
Expand Down Expand Up @@ -92,3 +103,5 @@ jobs:
allowUpdates: true
prerelease: true
artifacts: "*raspberry*.zip,*raspberry*.sha256,*raspberry*.json"
tag: ${{ inputs.tag }}
commit: ${{ inputs.commit }}

0 comments on commit 443351c

Please sign in to comment.