diff --git a/.github/actions/environment/action.yml b/.github/actions/environment/action.yml index c8a35b1fab..f776a26eee 100644 --- a/.github/actions/environment/action.yml +++ b/.github/actions/environment/action.yml @@ -84,7 +84,7 @@ runs: sudo chmod -R a+rw /usr/share/dotnet - name: Install .NET SDK - uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 with: global-json-file: global.json dotnet-version: | @@ -94,7 +94,7 @@ runs: # .NET 5.0 does not support ARM64 on macOS - name: Install .NET 5.0 SDK if: ${{ runner.os != 'macOS' || runner.arch != 'ARM64' }} - uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 with: dotnet-version: 5.0.x