Skip to content

Commit

Permalink
Updated checkoutstep config
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Nov 13, 2023
1 parent 1cf362d commit 178520d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .build/Build.CI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static RocketSurgeonGitHubActionsConfiguration CiMiddleware(RocketSurgeon
GetCheckStepIndex(job)+1, new RunStep("Create branch for tag (gitversion)")
{
If = "(github.ref_type == 'tag')",
Run = "git checkout -b ci/${{ github.ref }}"
Run = "git checkout -b ${{ github.ref_name }}"
}
);

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Create branch for tag (gitversion)
if: (github.ref_type == 'tag')
run: |
git checkout -b ci/${{ github.ref }}
git checkout -b ${{ github.ref_name }}
- name: NuGet Cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 178520d

Please sign in to comment.