Skip to content

Commit e849ad1

Browse files
committed
fix: streamline checkout step in release workflow
1 parent a924a7a commit e849ad1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
/repos/clFaster/StatusSwift/actions/variables/VERSION \
104104
-f "name=VERSION" -f "value=${{ steps.bump_version.outputs.new_version }}"
105105
106+
- name: Checkout repository
107+
uses: actions/checkout@v6
108+
with:
109+
ref: main
110+
106111
- name: Update Directory.Build.props
107112
run: |
108113
# Update VersionPrefix
@@ -116,11 +121,6 @@ jobs:
116121
run: |
117122
sed -i 's/<OutputName>SVNPathCopy-[^<]*<\/OutputName>/<OutputName>SVNPathCopy-${{ steps.bump_version.outputs.new_version }}<\/OutputName>/g' src/SVNPathCopy.Installer/SVNPathCopy.Installer.wixproj
118123
119-
- name: Checkout repository
120-
uses: actions/checkout@v6
121-
with:
122-
ref: main
123-
124124
- name: Commit and push version update
125125
run: |
126126
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)