mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-07 07:34:30 +08:00
Fixing that the specflow workflow should run on the selected branch when triggered manually
This commit is contained in:
4
.github/workflows/specflow.yml
vendored
4
.github/workflows/specflow.yml
vendored
@@ -4,7 +4,7 @@ name: SpecFlow tests
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # Every day at midnight.
|
||||
- cron: '0 0 * * *' # Every day at midnight.
|
||||
|
||||
jobs:
|
||||
compile:
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [dev, 1.10.x]
|
||||
branch: ${{ github.event_name == 'schedule' && fromJson('["dev","1.10.x"]') || fromJson('["${{ github.ref_name }}"]') }}
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user