Skip to content

Commit

Permalink
ci: only simple steps allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Dec 21, 2020
1 parent b3dc8a9 commit 82801b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .github/actions/cibuildwheel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,11 @@ inputs:
description: 'Folder to place the outputs in, defaults to "wheelhouse"'
required: false
default: 'wheelhouse'
artifact:
description: 'Upload/merge wheels into the given artifact if not blank'
required: false
default: 'artifact'

runs:
using: "composite"
steps:
- run: pip install cibuildwheel==1.7.1
shell: bash
- run: python -m cibuildwheel ${{ inputs.package-dir }} --output_dir ${{ inputs.output-dir }}
- run: python -m cibuildwheel ${{ inputs.package-dir }} --output-dir ${{ inputs.output-dir }}
shell: bash
- uses: actions/upload-artifact@v2
if: "${{ inputs.artifact }} != ''"
with:
path: wheelhouse/*
name: ${{ inputs.artifact }}
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ jobs:
CIBW_TEST_COMMAND: pytest {project}/tests
CIBW_BUILD_VERBOSITY: 1

- uses: actions/upload-artifact@v2
with:
path: wheelhouse/*

- name: Check wheels
run: |
python -m pip install twine
Expand Down

0 comments on commit 82801b5

Please sign in to comment.