Skip to content

Commit

Permalink
upload generated wheels as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 10, 2024
1 parent 6c90184 commit 9258566
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "Pip"

on:
workflow_dispatch:
# pull_request:
# push:
# branches:
# - master
pull_request:
push:
branches:
- master

jobs:
build:
Expand Down Expand Up @@ -135,6 +135,12 @@ jobs:
pip install pytest
pytest
if: matrix.platform == 'windows-latest'

- name: Upload wheels as build artifacts
uses: actions/upload-artifact@v2
with:
name: wheels-${{ matrix.platform }}
path: dist/*.whl

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: "Wheels"

on:
workflow_dispatch:
pull_request:
push:
branches:
- master
release:
types:
- published
# pull_request:
# push:
# branches:
# - master
# release:
# types:
# - published

env:
FORCE_COLOR: 3
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@
/.idea/
/nfsim/
/all_solvers/*
/.venv/
/venv/

.DS_Store

0 comments on commit 9258566

Please sign in to comment.