diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f2438e3514..7ded773b3b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -# Only trigger when a PR is committed. +# Only trigger when a PR is committed or manually. name: Linux Build All Arches #on: [pull_request] on: @@ -6,10 +6,11 @@ on: types: [closed] branches: - master + workflow_dispatch: jobs: build: - if: github.event.pull_request.merged + if: github.event.pull_request.merged || github.event_name == 'workflow_dispatch' name: Build # We used to build on ubuntu-18.04 but that is now deprecated by # GitHub. Earlier distributions will have to use the musl build. diff --git a/.github/workflows/musl.yaml b/.github/workflows/musl.yaml index 7acce14d49..c76dbe1c96 100644 --- a/.github/workflows/musl.yaml +++ b/.github/workflows/musl.yaml @@ -3,11 +3,12 @@ name: Linux Build Musl Static on: pull_request: types: [closed] + workflow_dispatch: jobs: build: - # Only trigger when a PR is committed. - if: github.event.pull_request.merged + # Only trigger when a PR is committed or manually triggered. + if: github.event.pull_request.merged || github.event_name == 'workflow_dispatch' name: Build runs-on: ubuntu-latest steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b0cdddb9a7..80af341b26 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,5 +1,7 @@ name: Windows Test -on: [pull_request] +on: + pull_request: + workflow_dispatch: jobs: build: