Workflows: Trigger all Build & Test on all branches & files

https://github.com/XTLS/Xray-core/pull/4192#issuecomment-2566960668
This commit is contained in:
RPRX 2025-01-01 11:51:32 +00:00 committed by GitHub
parent 0658c9545b
commit dd4ba823f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 36 deletions

View File

@ -1,24 +1,18 @@
name: Build and Release for Windows 7
# NOTE: This Github Actions file depends on the Makefile.
# Building the correct package requires the correct binaries generated by the Makefile. To
# ensure the correct output, the Makefile must accept the appropriate input and compile the
# correct file with the correct name. If you need to modify this file, please ensure it won't
# disrupt the Makefile.
on:
workflow_dispatch:
release:
types: [published]
push:
branches:
- main
paths:
# - "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release-win7.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
# - "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release-win7.yml"
jobs:
prepare:

View File

@ -11,20 +11,9 @@ on:
release:
types: [published]
push:
branches:
- main
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release.yml"
jobs:
prepare:
runs-on: ubuntu-latest

View File

@ -2,20 +2,8 @@ name: Test
on:
push:
branches:
- main
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
jobs:
test: