Skip to content

Commit

Permalink
Add artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
qqfunc authored Aug 18, 2024
1 parent d4e48b9 commit 196f02d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ jobs:
LIBFFI_LIBS="-L${{ github.workspace }}/install/ffi-${{ matrix.build.sdk }}-${{ matrix.build.arch }}/lib -lffi"
LIBLZMA_CFLAGS="-I${{ github.workspace }}/install/xz-${{ matrix.build.sdk }}-${{ matrix.build.arch }}/include"
LIBLZMA_LIBS="-L${{ github.workspace }}/install/xz-${{ matrix.build.sdk }}-${{ matrix.build.arch }}/lib -llzma"
--enable-framework="./iOS/Frameworks/main/"
--enable-framework="${{ github.workspace }}/framework"
--host=${{ matrix.build.host }}
--build=arm64-apple-darwin
--with-build-python="${{ steps.py.outputs.python-path }}"
Expand All @@ -301,8 +301,12 @@ jobs:
make
make install
- name: Create an archive
working-directory: cpython
run: >
tar -czf
./iOS/Frameworks/dist/Python.framework.tar.gz
./iOS/Frameworks/dist/Python.framework
working-directory: framework
run: tar -czf Python.framework.tar.gz Python.framework
- name: Upload Python.framewrok.tar.gz
uses: actions/upload-artifact@v4
with:
name: cp${{ steps.py.outputs.python-version }}-${{ matrix.build.sdk }}-${{ matrix.build.arch }}
path: ${{ github.workspace }}/framework/Python.framework.tar.gz
if-no-files-found: error
retention-days: 1

0 comments on commit 196f02d

Please sign in to comment.