Skip to content

Upgrade GitHub action dependencies: upload-artifact, download-artifact #1046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/doctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
make doctest
- name: Archive results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: doctest-output
path: doc/_build/doctest/output.txt
30 changes: 21 additions & 9 deletions .github/workflows/os-blas-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- .github/scripts/set-conda-pip-matrix.py
- .github/conda-env/build-env.yml
- .github/conda-env/test-env.yml

jobs:
build-pip:
name: Build pip Py${{ matrix.python }}, ${{ matrix.os }}, ${{ matrix.bla_vendor}} BLA_VENDOR
Expand Down Expand Up @@ -91,10 +91,11 @@ jobs:
mkdir -p ${wheeldir}
cp ./slycot*.whl ${wheeldir}/
- name: Save wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: slycot-wheels
name: slycot-wheels-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.bla_vendor }}
path: slycot-wheels
retention-days: 5


build-conda:
Expand Down Expand Up @@ -142,10 +143,11 @@ jobs:
done
python -m conda_index ./slycot-conda-pkgs
- name: Save to local conda pkg channel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: slycot-conda-pkgs
name: slycot-conda-pkgs-${{ matrix.os }}-${{ matrix.python }}
path: slycot-conda-pkgs
retention-days: 5


create-wheel-test-matrix:
Expand All @@ -156,10 +158,15 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Merge artifacts
uses: actions/upload-artifact/merge@v4
with:
name: slycot-wheels
pattern: slycot-wheels-*
- name: Checkout python-control
uses: actions/checkout@v3
- name: Download wheels (if any)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: slycot-wheels
path: slycot-wheels
Expand All @@ -175,10 +182,15 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Merge artifacts
uses: actions/upload-artifact/merge@v4
with:
name: slycot-conda-pkgs
pattern: slycot-conda-pkgs-*
- name: Checkout python-control
uses: actions/checkout@v3
- name: Download conda packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: slycot-conda-pkgs
path: slycot-conda-pkgs
Expand Down Expand Up @@ -238,7 +250,7 @@ jobs:
exit 1 ;;
esac
- name: Download wheels
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: slycot-wheels
path: slycot-wheels
Expand Down Expand Up @@ -290,7 +302,7 @@ jobs:
channel-priority: strict
auto-activate-base: false
- name: Download conda packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: slycot-conda-pkgs
path: slycot-conda-pkgs
Expand Down
Loading