From 395510206b44e7e5b1195f4d273a6fa7e50fd73c Mon Sep 17 00:00:00 2001 From: acpaquette Date: Mon, 22 Apr 2024 16:54:04 -0700 Subject: [PATCH] Update checkout action (#480) * 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 --- .github/workflows/ci_testing.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_testing.yml b/.github/workflows/ci_testing.yml index 2171a3a15..d8dda0404 100644 --- a/.github/workflows/ci_testing.yml +++ b/.github/workflows/ci_testing.yml @@ -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 @@ -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 @@ -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 @@ -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