Skip to content

Commit

Permalink
Merge pull request #5498 from xenserver-next/CI-fix-node16-warnings-u…
Browse files Browse the repository at this point in the history
…pdate-to-artifact@v4
  • Loading branch information
psafont authored Mar 11, 2024
2 parents ddfd64a + 8db28fd commit 32a96dc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/generate-and-build-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
run: opam exec -- make sdk

- name: Store C# SDK source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK_Source_CSharp
path: _build/install/default/xapi/sdk/csharp/*

- name: Store PowerShell SDK source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK_Source_PowerShell
path: _build/install/default/xapi/sdk/powershell/*
Expand All @@ -49,7 +49,7 @@ jobs:
run: echo "XAPI_VERSION_NUMBER=$("${{ inputs.xapi_version }}".TrimStart('v'))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Retrieve C# SDK source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Source_CSharp
path: source/
Expand All @@ -64,7 +64,7 @@ jobs:
--verbosity=normal
- name: Store C# SDK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK_Binaries_CSharp
path: source/src/bin/Release/XenServer.NET.${{ env.XAPI_VERSION_NUMBER }}-prerelease-unsigned.nupkg
Expand All @@ -81,13 +81,13 @@ jobs:
run: echo "XAPI_VERSION_NUMBER=$("${{ inputs.xapi_version }}".TrimStart('v'))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Retrieve PowerShell SDK source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Source_PowerShell
path: source/

- name: Retrieve C# SDK binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_CSharp
path: csharp/
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
ForEach-Object -Process { Copy-Item -Verbose $_.FullName -Destination "output" }
- name: Store PowerShell SDK (.NET Framework 4.5)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET45
path: output/**/*
Expand All @@ -155,13 +155,13 @@ jobs:
run: echo "XAPI_VERSION_NUMBER=$("${{ inputs.xapi_version }}".TrimStart('v'))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Retrieve PowerShell SDK source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Source_PowerShell
path: source/

- name: Retrieve C# SDK binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_CSharp
path: csharp/
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
ForEach-Object -Process { Copy-Item -Verbose $_.FullName -Destination "output" }
- name: Store PowerShell SDK (.NET ${{ matrix.dotnet }})
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET${{ matrix.dotnet }}
path: output/**/*
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
make python
- name: Store python distribution artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: XenAPI
path: scripts/examples/python/dist/
Expand All @@ -47,25 +47,25 @@ jobs:
needs: [build-python, build-sdks]
steps:
- name: Retrieve Python SDK distribution artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: XenAPI
path: dist/

- name: Retrieve C# SDK distribution artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_CSharp
path: dist/

- name: Retrieve PowerShell 5.x SDK distribution artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET45
path: sdk_powershell_5x/

- name: Retrieve PowerShell 7.x SDK distribution artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET6
path: sdk_powershell_7x/
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
id-token: write
steps:
- name: Retrieve python distribution artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: XenAPI
path: dist/
Expand Down

0 comments on commit 32a96dc

Please sign in to comment.