From bd249ac630ae5fe53ec5f3d0670a9f75fabd4b33 Mon Sep 17 00:00:00 2001 From: kailash-b Date: Fri, 10 Jan 2025 10:49:24 +0530 Subject: [PATCH] release/4.1.0 - Build fix --- .github/actions/nuget-publish/action.yml | 7 ++++++- .github/workflows/rl-secure.yml | 16 ++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/actions/nuget-publish/action.yml b/.github/actions/nuget-publish/action.yml index a1e4a8b5..ffe77288 100644 --- a/.github/actions/nuget-publish/action.yml +++ b/.github/actions/nuget-publish/action.yml @@ -22,7 +22,12 @@ runs: - name: Setup NuGet uses: nuget/setup-nuget@v1 - + + - name: Setup Mono + run: | + sudo apt-get update + sudo apt-get install -y mono-complete + - name: Create NuGet packages shell: pwsh run: nuget pack ${{ inputs.nuspec-file }} -OutputDirectory ${{ inputs.nuget-directory }} diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml index 90c0a145..e51c2bbb 100644 --- a/.github/workflows/rl-secure.yml +++ b/.github/workflows/rl-secure.yml @@ -45,7 +45,15 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: '8.0.404' - + + - name: Setup Mono + run: | + sudo apt-get update + sudo apt-get install -y mono-complete + + - name: Setup NuGet + uses: nuget/setup-nuget@v1 + - uses: actions/download-artifact@v4 with: path: './src' @@ -53,13 +61,13 @@ jobs: - name: Create NuGet packages shell: pwsh - run: | + run: | nuget pack ${{ inputs.nuspec-file }} -OutputDirectory ${{ github.workspace }}/nuget - + - name: Create tgz build artifact run: | tar -czvf ${{ github.workspace }}/${{ inputs.artifact-name }} ${{ github.workspace }}/nuget - + - id: get_version uses: ./.github/actions/get-version with: