Skip to content

Commit 17099a3

Browse files
committed
ci: upload artifact before validation
This will allow us to inspect the built artifact in case validation fails.
1 parent d3200c7 commit 17099a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/apple.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@ jobs:
194194
195195
./build-macos.py --target-triple ${{ matrix.build.target_triple }} --python ${{ matrix.build.py }} --optimizations ${{ matrix.build.optimizations }}
196196
197+
- name: Upload Distributions
198+
uses: actions/upload-artifact@v3
199+
with:
200+
name: ${{ matrix.build.py }}-${{ matrix.build.target_triple }}
201+
path: dist/*
202+
197203
- uses: actions/checkout@v4
198204
with:
199205
repository: 'phracker/MacOSX-SDKs'
@@ -209,9 +215,3 @@ jobs:
209215
fi
210216
211217
build/pythonbuild validate-distribution --macos-sdks-path macosx-sdks ${EXTRA_ARGS} dist/*.tar.zst
212-
213-
- name: Upload Distributions
214-
uses: actions/upload-artifact@v3
215-
with:
216-
name: ${{ matrix.build.py }}-${{ matrix.build.target_triple }}
217-
path: dist/*

0 commit comments

Comments
 (0)