Skip to content

Commit 63e2ee4

Browse files
authored
update release/2025.03.x to main (#849)
2 parents 3ea2f3f + 6d737cf commit 63e2ee4

2 files changed

Lines changed: 57 additions & 1 deletion

File tree

.github/workflows/on_pr.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ on: [pull_request]
55

66
jobs:
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

.github/workflows/on_push_main.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,42 @@ name: On Push
44
on:
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

1214
jobs:
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]

0 commit comments

Comments
 (0)