Skip to content

Commit dd0e5eb

Browse files
committed
Integrate publish steps into Build jobs
1 parent 9b9a5d7 commit dd0e5eb

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/ci.yml

+6-17
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ jobs:
5151
cd sm-environment/build
5252
python ./build.py
5353
cd ../..
54+
- name: Publish
55+
uses: actions/upload-artifact@v1
56+
with:
57+
name: linux
58+
path: sm-environment/build/package
5459

5560
build-windows:
5661
name: Windows - Build
@@ -101,24 +106,8 @@ jobs:
101106
cd sm-environment/build
102107
python ./build.py
103108
cd ../..
104-
105-
artifact-linux:
106-
name: Linux - Publish artifact
107-
needs: build-linux
108-
runs-on: ubuntu-latest
109-
steps:
110-
- name: Publish
111-
uses: actions/upload-artifact@v1
112-
with:
113-
name: linux
114-
path: sm-environment/build/package
115-
artifact-windows:
116-
name: Windows - Publish artifact
117-
needs: build-windows
118-
runs-on: windows-latest
119-
steps:
120109
- name: Publish
121110
uses: actions/upload-artifact@v1
122111
with:
123112
name: windows
124-
path: sm-environment/build/package
113+
path: sm-environment/build/package

0 commit comments

Comments
 (0)