Skip to content

Commit

Permalink
Update checkout action (#480)
Browse files Browse the repository at this point in the history
* Fixes Node.js 16 warning in workflow summary

* Also update the conda env setup action

* Updated artifact upload action to 4.0

* Update artifact name based on build matrix python version
  • Loading branch information
acpaquette authored Apr 22, 2024
1 parent cb9ab2a commit 3955102
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
submodules: recursive
- uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
- uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976
with:
miniconda-version: "latest"
activate-environment: usgscsm
Expand Down Expand Up @@ -51,11 +51,11 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
submodules: recursive
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
- uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976
with:
miniconda-version: "latest"
activate-environment: usgscsm
Expand All @@ -72,9 +72,9 @@ jobs:
cd build
cmake -G "Visual Studio 16 2019" -DUSGSCSM_BUILD_DOCS=OFF -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON -DUSGSCSM_BUILD_DOCS=OFF -DUSGSCSM_BUILD_TESTS=OFF ..
cmake --build . --target ALL_BUILD --config Release
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: usgscsm
name: usgscsm_py${{ matrix.python-version }}
path: |
D:\a\usgscsm\usgscsm\build\Release\usgscsm.dll
D:\a\usgscsm\usgscsm\build\ale\Release\ale.dll
Expand All @@ -87,11 +87,11 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
submodules: true
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
- uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976
with:
miniconda-version: "latest"
activate-environment: usgscsm
Expand Down

0 comments on commit 3955102

Please sign in to comment.