From d61ff5dcb5e5f578e7a85800c5ec7c7fd720c004 Mon Sep 17 00:00:00 2001 From: jawelton74 <103591340+jawelton74@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:17:48 -0800 Subject: [PATCH] Update upload/download-artifact actions to v4 due to v3 deprecation. (#2006) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15c555e31..e285f87d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: NODE_OPTIONS: "--max-old-space-size=4096" - run: cp -r ./Contracts ./dist/contracts - run: cp -r ./configs ./dist/configs - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist path: dist/ @@ -117,14 +117,14 @@ jobs: with: nuget-api-key: ${{ secrets.NUGET_API_KEY }} - name: Download Dist Folder - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist - run: cp ./configs/prod.json config.json - run: nuget sources add -Name "ADO" -Source "$NUGET_SOURCE" -UserName "jawelton@microsoft.com" -Password "$AZURE_DEVOPS_PAT" - run: nuget pack -Version "2.0.0-github-${GITHUB_SHA}" - run: nuget push -SkipDuplicate -Source "$NUGET_SOURCE" -ApiKey Az *.nupkg - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: packages with: path: "*.nupkg" @@ -141,7 +141,7 @@ jobs: with: nuget-api-key: ${{ secrets.NUGET_API_KEY }} - name: Download Dist Folder - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist - run: cp ./configs/mpac.json config.json @@ -149,7 +149,7 @@ jobs: - run: nuget sources add -Name "ADO" -Source "$NUGET_SOURCE" -UserName "jawelton@microsoft.com" -Password "$AZURE_DEVOPS_PAT" - run: nuget pack -Version "2.0.0-github-${GITHUB_SHA}" - run: nuget push -SkipDuplicate -Source "$NUGET_SOURCE" -ApiKey Az *.nupkg - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 name: packages with: path: "*.nupkg"