Skip to content

Commit

Permalink
ci: make upload/download artifact compatible with new action version (#…
Browse files Browse the repository at this point in the history
…790)

* docs: fix broken anchor in url

* ci: make upload/download artifact compatible with new action version
  • Loading branch information
consideRatio authored Jan 4, 2024
1 parent b351ac8 commit 99df427
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-publish-python-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ jobs:
if: matrix.upload_sdist
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.package }}
name: ${{ format('{0}_{1}', matrix.package, 'sdist') }}
path: ${{ matrix.package }}/dist/*.tar.gz
if-no-files-found: error

- name: Upload wheel artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.package }}
name: ${{ join([ format('{0}_{1}', matrix.package, 'wheel'), matrix.GOOS , matrix.GOARCH], '-') }}
path: ${{ matrix.package }}/dist/*.whl
if-no-files-found: error

Expand All @@ -116,8 +116,9 @@ jobs:
- name: Download built source distributions and wheels
uses: actions/download-artifact@v4
with:
name: ${{ matrix.package }}
pattern: ${{ matrix.package }}_*
path: ${{ matrix.package }}/dist
merge-multiple: true

- name: Inspect built source distributions and wheels
working-directory: ${{ matrix.package }}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ both the cluster backend and the authentication protocol are pluggable.
.. _PBS: ttps://www.openpbs.org/
.. _Slurm: https://slurm.schedmd.com/
.. _Kubernetes: https://kubernetes.io/
.. _Deploying Dask: https://docs.dask.org/en/stable/deploying.html#distributed-computing
.. _Deploying Dask: https://docs.dask.org/en/stable/deploying.html

0 comments on commit 99df427

Please sign in to comment.