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"