Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 71c0eea

Browse files
committed
Run ea build only after ci succeed
1 parent 94bd189 commit 71c0eea

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,12 @@ jobs:
3636
name: buildreports-${{ matrix.nickname }}
3737
path: build/reports
3838
retention-days: 1
39+
ea:
40+
runs-on: ubuntu-latest
41+
if: github.repository_owner == 'spring-projects' && github.ref_name == 'main' && github.event_name == 'push'
42+
needs: build
43+
steps:
44+
- name: Dispatch early access
45+
env:
46+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
run: gh workflow run jr-ea.yml -r main

.github/workflows/jr-ea.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: Early Access
22

33
on:
4-
push:
5-
branches: [ main ]
64
workflow_dispatch:
75

6+
concurrency:
7+
group: jr-ea
8+
cancel-in-progress: true
9+
810
jobs:
911

1012
precheck:

0 commit comments

Comments
 (0)