Skip to content

Commit a924a7a

Browse files
committed
fix: add checkout step for repository in release workflow
1 parent e27f397 commit a924a7a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ jobs:
116116
run: |
117117
sed -i 's/<OutputName>SVNPathCopy-[^<]*<\/OutputName>/<OutputName>SVNPathCopy-${{ steps.bump_version.outputs.new_version }}<\/OutputName>/g' src/SVNPathCopy.Installer/SVNPathCopy.Installer.wixproj
118118
119+
- name: Checkout repository
120+
uses: actions/checkout@v6
121+
with:
122+
ref: main
123+
119124
- name: Commit and push version update
120125
run: |
121126
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)