From 99df42715a3c6fb183c57ea07577262d8224803d Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 4 Jan 2024 11:14:29 +0100 Subject: [PATCH] ci: make upload/download artifact compatible with new action version (#790) * docs: fix broken anchor in url * ci: make upload/download artifact compatible with new action version --- .github/workflows/build-publish-python-packages.yaml | 7 ++++--- docs/source/index.rst | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-publish-python-packages.yaml b/.github/workflows/build-publish-python-packages.yaml index 0fc3b422..cf611521 100644 --- a/.github/workflows/build-publish-python-packages.yaml +++ b/.github/workflows/build-publish-python-packages.yaml @@ -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 @@ -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 }} diff --git a/docs/source/index.rst b/docs/source/index.rst index e58f798c..c889fb84 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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