Skip to content

Commit

Permalink
Add workflow dispatch support
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Dec 21, 2024
1 parent ca2edd1 commit 22139ec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:
tags:
- 'v*'
pull_request:
workflow_dispatch:
inputs:
ref:
description: "The commit, branch, or tag to build"
required: true
default: "main"

jobs:
build:
Expand All @@ -30,7 +36,9 @@ jobs:

steps:
- uses: actions/checkout@v4

with:
ref: ${{ github.event.inputs.ref }} # Checkout the specified branch, tag, or commit

- uses: haskell-actions/setup@v2
id: setup-haskell
with:
Expand Down

0 comments on commit 22139ec

Please sign in to comment.