diff --git a/csharp-build/action.yml b/csharp-build/action.yml index f382416..a51e9d6 100644 --- a/csharp-build/action.yml +++ b/csharp-build/action.yml @@ -148,7 +148,7 @@ runs: echo "Final detected .NET version: $detected_version" >&2 - name: Setup .NET SDK - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 with: dotnet-version: ${{ steps.detect-dotnet-version.outputs.detected-version }} cache: true diff --git a/csharp-lint-check/action.yml b/csharp-lint-check/action.yml index 3ff9383..967a93d 100644 --- a/csharp-lint-check/action.yml +++ b/csharp-lint-check/action.yml @@ -164,7 +164,7 @@ runs: echo "Final detected .NET version: $detected_version" >&2 - name: Setup .NET SDK - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 with: dotnet-version: ${{ steps.detect-dotnet-version.outputs.detected-version }} cache: true diff --git a/csharp-publish/action.yml b/csharp-publish/action.yml index 17fd2db..53976d8 100644 --- a/csharp-publish/action.yml +++ b/csharp-publish/action.yml @@ -162,7 +162,7 @@ runs: echo "Final detected .NET version: $detected_version" >&2 - name: Setup .NET SDK - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 with: dotnet-version: ${{ inputs.dotnet-version || steps.detect-dotnet-version.outputs.detected-version }} cache: true