File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,33 @@ on: [pull_request]
55
66jobs :
77
8+ make_code_archive :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Reconfigure git
12+ run : |
13+ git config --global --add safe.directory '*'
14+ git config --global --list
15+
16+ - uses : actions/checkout@v4
17+ with :
18+ submodules : recursive
19+
20+ - name : Download git-archive-all.sh
21+ run : |
22+ wget https://raw.githubusercontent.com/fabacab/git-archive-all.sh/refs/heads/master/git-archive-all.sh
23+ chmod +x git-archive-all.sh
24+
25+ - name : Archive Shamrock with submodules
26+ run : |
27+ ./git-archive-all.sh
28+
29+ - name : Upload artifcat
30+ uses : actions/upload-artifact@v4
31+ with :
32+ name : Shamrock_Release.tar
33+ path : Shamrock.tar
34+
835 upload_pr_detail :
936 runs-on : ubuntu-latest
1037
Original file line number Diff line number Diff line change @@ -4,13 +4,42 @@ name: On Push
44on :
55 # Triggers the workflow on push or pull request events but only for the "main" branch
66 push :
7- branches : [ "main" ]
7+ branches :
8+ - main
9+ - release/*
810
911 workflow_dispatch :
1012
1113
1214jobs :
1315
16+ make_code_archive :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Reconfigure git
20+ run : |
21+ git config --global --add safe.directory '*'
22+ git config --global --list
23+
24+ - uses : actions/checkout@v4
25+ with :
26+ submodules : recursive
27+
28+ - name : Download git-archive-all.sh
29+ run : |
30+ wget https://raw.githubusercontent.com/fabacab/git-archive-all.sh/refs/heads/master/git-archive-all.sh
31+ chmod +x git-archive-all.sh
32+
33+ - name : Archive Shamrock with submodules
34+ run : |
35+ ./git-archive-all.sh
36+
37+ - name : Upload artifcat
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : Shamrock_Release.tar
41+ path : Shamrock.tar
42+
1443 src_check :
1544 name : Linting
1645 # needs: [detect_changes]
You can’t perform that action at this time.
0 commit comments