Skip to content

Commit

Permalink
Merge wheel artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
godotalgorithm committed Feb 19, 2025
1 parent f44244a commit 5b74457
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ env:
MOPAC_VERSION: 23.1.2

jobs:
build-src:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build package
shell: bash
run: |
pip install build
python -m build
- name: Save wheel artifacts
uses: actions/upload-artifact@v4
with:
name: src-tarball
path: dist/*.gz

build-wheel:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -66,10 +84,17 @@ jobs:
# shell: bash
# run: |
# pip install twine==6.0.1
# python -m twine upload --repository testpypi dist/*
# python -m twine upload --repository testpypi dist/*.whl

- name: Save wheel artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-wheel
path: dist
path: dist/*.whl

merge:
runs-on: ubuntu-latest
needs: [build-src, build-wheel]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4

0 comments on commit 5b74457

Please sign in to comment.