update offline install bundles to not build wheels
@@ -397,7 +397,8 @@ jobs:
# --------------------------------------------------------------------------- #
ValidateVersionReleaseMatch:
- if: github.event_name == 'release' && github.event.action == 'created'
+ # if: github.event_name == 'release' && github.event.action == 'created'
+ if: True # For now, run on every PR, in the future, only run when releases are created
runs-on: ubuntu-latest
steps:
- name: Get the tag version number
@@ -444,7 +445,7 @@ jobs:
poetry publish
- WheelBundles:
+ OfflineInstallBundles:
needs:
# - PyPI
- ValidateVersionReleaseMatch
@@ -460,10 +461,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- - name: Download Wheels
+ - name: Download Source Files and Build PyMedPhys Wheel
run: |
pip install wheel
- pip wheel -r requirements-user.txt -w wheels
+ pip wheel . -w offline --no-deps
+ pip download -r .\requirements-deploy.txt -d offline
- name: Get Wheel Types
id: wheel_label
run: |
@@ -471,14 +473,14 @@ jobs:
shell: bash
- uses: actions/upload-artifact@v2
with:
- name: wheels-${{ steps.wheel_label.outputs.NAMING }}
- path: wheels/*.whl
+ name: offline-install-bundle-${{ steps.wheel_label.outputs.NAMING }}
+ path: offline/*.whl
UpdateRelease:
needs:
# - Tests
- - WheelBundles
+ - OfflineInstallBundles
- ValidateVersionReleaseMatch
runs-on: ubuntu-latest
steps:
