From 129475c0f78ad184039bc03bf5590d3063b9a0cf Mon Sep 17 00:00:00 2001 From: Gregorius Soedharmo Date: Thu, 30 May 2024 21:52:16 +0700 Subject: [PATCH] Fix GA CI/CD script global,json location --- .github/workflows/pr_validation.yaml | 2 +- .github/workflows/publish_nuget.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_validation.yaml b/.github/workflows/pr_validation.yaml index dd719cb..6cbbaf8 100644 --- a/.github/workflows/pr_validation.yaml +++ b/.github/workflows/pr_validation.yaml @@ -31,7 +31,7 @@ jobs: - name: "Install .NET SDK" uses: actions/setup-dotnet@v4.0.0 with: - global-json-file: "./global.json" + global-json-file: "./src/global.json" - name: "Update release notes" shell: pwsh diff --git a/.github/workflows/publish_nuget.yml b/.github/workflows/publish_nuget.yml index fbb1b1d..accf2fa 100644 --- a/.github/workflows/publish_nuget.yml +++ b/.github/workflows/publish_nuget.yml @@ -16,10 +16,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET Core - uses: actions/setup-dotnet@v4 + + - name: "Install .NET SDK" + uses: actions/setup-dotnet@v4.0.0 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + global-json-file: "./src/global.json" - name: "Update release notes" shell: pwsh