Skip to content

Commit df49866

Browse files
committed
update:build workflows
1 parent 437b6ed commit df49866

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

.github/workflows/linuxbuild.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: ubuntu build workflows
33
on:
44
push:
55
branches: [ "develop" ]
6-
pull_request:
7-
branches: [ "develop" ]
6+
paths:
7+
- 'XEngine_Source/**'
8+
- 'XEngine_Release/**'
89

910
permissions:
1011
contents: read
@@ -61,4 +62,10 @@ jobs:
6162
- name: test
6263
run: |
6364
cd XEngine_Release
64-
./XEngine_MQServiceApp -t
65+
./XEngine_MQServiceApp -t
66+
67+
- name: Upload folder as artifact with ubuntu
68+
uses: actions/upload-artifact@v4
69+
with:
70+
name: XEngine_MQServiceApp-x86_64-Ubuntu
71+
path: XEngine_Release/

.github/workflows/macbuild.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: macos build workflows
33
on:
44
push:
55
branches: [ "develop" ]
6-
pull_request:
7-
branches: [ "develop" ]
6+
paths:
7+
- 'XEngine_Source/**'
8+
- 'XEngine_Release/**'
89

910
permissions:
1011
contents: read
@@ -62,3 +63,9 @@ jobs:
6263
run: |
6364
cd XEngine_Release
6465
./XEngine_MQServiceApp -t
66+
67+
- name: Upload folder as artifact with mac
68+
uses: actions/upload-artifact@v4
69+
with:
70+
name: XEngine_MQServiceApp-x86_64-Mac
71+
path: XEngine_Release/

.github/workflows/msbuild.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: windows build workflows
33
on:
44
push:
55
branches: [ "develop" ]
6-
pull_request:
7-
branches: [ "develop" ]
6+
paths:
7+
- 'XEngine_Source/**'
8+
- 'XEngine_Release/**'
89

910
permissions:
1011
contents: read
@@ -75,3 +76,17 @@ jobs:
7576
./VSCopy-x86.bat
7677
./XEngine_MQServiceApp.exe -t
7778
shell: pwsh
79+
80+
- name: Upload folder as artifact with x86
81+
if: matrix.configuration == 'Release' && matrix.platform == 'x86'
82+
uses: actions/upload-artifact@v4
83+
with:
84+
name: XEngine_MQServiceApp-x86_32-Windows
85+
path: XEngine_Release/
86+
87+
- name: Upload folder as artifact with x64
88+
if: matrix.configuration == 'Release' && matrix.platform == 'x64'
89+
uses: actions/upload-artifact@v4
90+
with:
91+
name: XEngine_MQServiceApp-x86_64-Windows
92+
path: XEngine_Release/

0 commit comments

Comments
 (0)