Skip to content

Commit 2750bed

Browse files
committed
try splitting jobs
1 parent c81f85a commit 2750bed

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/pyhton.generate-wrapper.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- master
66

77
jobs:
8-
generate-wrapper:
8+
generate-wrapper-linux:
99
runs-on: "ubuntu-22.04"
1010
defaults:
1111
run:
@@ -19,6 +19,24 @@ jobs:
1919
- name: generate wrapper
2020
run: ./generate_swig_wrapper.sh
2121
shell: bash
22+
- uses: actions/upload-artifact@v4
23+
with:
24+
name: python-sources
25+
path: python-wrapper/sensirion_gas_index_algorithm/**
26+
if-no-files-found: error
27+
py3p8_linux_build:
28+
runs-on: "ubuntu-22.04"
29+
defaults:
30+
run:
31+
working-directory: ./python-wrapper
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: actions/download-artifact@v4
35+
with:
36+
name: python-sources
37+
path: python-wrapper/sensirion_gas_index_algorithm
38+
- name: check source files
39+
run: ls -al sensirion_gas_index_algorithm
2240
- uses: actions/setup-python@v5
2341
with:
2442
python-version: 3.8

0 commit comments

Comments
 (0)