Skip to content

Commit

Permalink
Workflow updates for old artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Goobley committed Nov 26, 2024
1 parent 4cde67e commit 61cddd3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz

build_wheels:
Expand Down Expand Up @@ -48,4 +49,5 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: wheelhouse/*.whl
5 changes: 4 additions & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz

build_wheels:
Expand Down Expand Up @@ -51,6 +52,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: wheelhouse/*.whl

deploy:
Expand All @@ -60,7 +62,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
merge-multiple: true
pattern: artifact-*
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.11'

- run: python -m pip install sphinx sphinx-rtd-theme sphinx-gallery

- run: python -m pip install .
env:
LW_CI_BUILD: true
LW_CI_BUILD: false

- name: Build docs
run: |
Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: gh-pages

Expand Down

0 comments on commit 61cddd3

Please sign in to comment.