aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2023-10-03 09:33:52 +0200
committerJakob Borg <jakob@kastelo.net>2023-10-03 09:33:52 +0200
commitd644dce4e7a29fcf2595b529771eb35c55bd35f4 (patch)
tree7c130707917b0960cef6fc260d43e7fb9cc8234d /.github
parent7c579880eb0dac6febbb1891b7a01865edaede43 (diff)
downloadsyncthing-d644dce4e7a29fcf2595b529771eb35c55bd35f4.tar.gz
syncthing-d644dce4e7a29fcf2595b529771eb35c55bd35f4.zip
build: Run release steps for workflow_dispatch as well
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-syncthing.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml
index f5c730452..f9364e346 100644
--- a/.github/workflows/build-syncthing.yaml
+++ b/.github/workflows/build-syncthing.yaml
@@ -136,7 +136,7 @@ jobs:
package-windows:
name: Package for Windows
- if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
environment: signing
runs-on: windows-latest
steps:
@@ -235,7 +235,7 @@ jobs:
package-macos:
name: Package for macOS
- if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
environment: signing
runs-on: macos-latest
steps:
@@ -325,7 +325,7 @@ jobs:
notarize-macos:
name: Notarize for macOS
- if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
environment: signing
needs:
- package-macos
@@ -461,7 +461,7 @@ jobs:
sign-for-upgrade:
name: Sign for upgrade
- if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
environment: signing
needs:
- basics
@@ -580,7 +580,7 @@ jobs:
publish-nightly:
name: Publish nightly build
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release-nightly')
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/release-nightly')
environment: signing
needs:
- sign-for-upgrade
@@ -624,7 +624,7 @@ jobs:
publish-release-files:
name: Publish release files
- if: github.event_name == 'push' && github.ref == 'refs/heads/release'
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/release'
environment: signing
needs:
- sign-for-upgrade
@@ -683,7 +683,7 @@ jobs:
docker-syncthing:
name: Build and push Docker images
runs-on: ubuntu-latest
- if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-'))
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-'))
environment: docker
strategy:
matrix: