From 82801b54072ba297e9d2cc502aeb5347fef597d5 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 21 Dec 2020 11:28:19 -0500 Subject: [PATCH] ci: only simple steps allowed --- .github/actions/cibuildwheel/action.yml | 11 +---------- .github/workflows/tests.yml | 4 ++++ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/actions/cibuildwheel/action.yml b/.github/actions/cibuildwheel/action.yml index de6e3f2d..515f7f4a 100644 --- a/.github/actions/cibuildwheel/action.yml +++ b/.github/actions/cibuildwheel/action.yml @@ -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 }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e5db6384..f4551d91 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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