From 3b05f4fdf6d212ca0d4b8f57a42913fe2355e59c Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Tue, 20 Jun 2023 12:34:40 +0100 Subject: [PATCH] Use branch-name output Use the new `branch-name` output value, rather than attempting to compute the branch name. --- .github/workflows/update-dotnet-sdk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-dotnet-sdk.yml b/.github/workflows/update-dotnet-sdk.yml index 9ba65eac9..f9006595e 100644 --- a/.github/workflows/update-dotnet-sdk.yml +++ b/.github/workflows/update-dotnet-sdk.yml @@ -27,7 +27,7 @@ jobs: - name: Checkout code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: - ref: ${{ format('update-dotnet-sdk-{0}', needs.update-sdk.outputs.sdk-version) }} + ref: ${{ needs.update-sdk.outputs.branch-name }} token: ${{ secrets.ACCESS_TOKEN }} - name: Setup Node