Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Nov 8, 2024
1 parent 835e3ad commit 4648d94
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,8 @@ jobs:
echo "$(brew --prefix)/opt/cmake/bin" >> $GITHUB_PATH
echo "$(brew --prefix)/opt/flex/bin:$(brew --prefix)/opt/bison/bin" >> $GITHUB_PATH
- name: Cache readline
if: startsWith(runner.os, 'macOS')
id: cache-readline
uses: actions/cache@v3
with:
path: /opt/nrnwheel/$(uname -m)
key: readline-${{ runner.os }}-${{ hashFiles('packaging/python/build_static_readline_osx.bash') }}
restore-keys: |
readline-${{ runner.os }}-
- name: Install readline
if: startsWith(runner.os, 'macOS') && steps.cache-readline.outputs.cache-hit != 'true'
if: startsWith(runner.os, 'macOS')
run: |
sudo mkdir -p /opt/nrnwheel/$(uname -m)
sudo bash packaging/python/build_static_readline_osx.bash
Expand Down Expand Up @@ -107,7 +97,7 @@ jobs:
packaging/python/test_wheels.sh $(which python) wheelhouse/*cp3${minor_version}*.whl
- name: Upload wheel files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.python-version }}
path: wheelhouse/*.whl
Expand All @@ -116,7 +106,7 @@ jobs:
publish-to-pypi:
name: Publish Python wheels to PyPI
# we only run this if it's a nightly upload, or if we are doing a release
if: (github.event_name == 'schedule' && startsWith(github.ref, 'refs/heads/master')) || (github.event_name == 'workflow_dispatch' && github.inputs.upload == 'true')
if: (github.event_name == 'schedule' && startsWith(github.ref, 'refs/heads/master')) || (github.event_name == 'workflow_dispatch' && github.event.inputs.upload == 'true')
needs:
- build-test

Expand Down

0 comments on commit 4648d94

Please sign in to comment.