Commit 1a0453a 1 parent cbd15d8 commit 1a0453a Copy full SHA for 1a0453a
File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,30 @@ jobs:
27
27
. venv/bin/activate
28
28
pip3 install -r requirements.txt
29
29
- name : Validate YAMLs
30
- run : |
30
+ run : |
31
31
. venv/bin/activate
32
32
make -j$(nproc) validate
33
33
- name : Generate JSONs
34
- run : |
34
+ run : |
35
35
. venv/bin/activate
36
36
make O=./build -j$(nproc)
37
37
- name : Archive JSONs
38
38
uses : actions/upload-artifact@v4
39
39
with :
40
40
name : frontend-dataset
41
41
path : build
42
+ notify_frontend :
43
+ runs-on : ubuntu-latest
44
+ needs : generation
45
+ permissions :
46
+ actions : write
47
+ steps :
48
+ - name : Notify
49
+ run : |
50
+ curl -L \
51
+ -X POST \
52
+ -H "Accept: application/vnd.github+json" \
53
+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
54
+ -H "X-GitHub-Api-Version: 2022-11-28" \
55
+ https://api.github.com/repos/openeuler-riscv/imagepub-web/actions/workflows/build.yml/dispatches \
56
+ -d '{"ref":"main"}'
You can’t perform that action at this time.
0 commit comments