Skip to content

Commit df6b105

Browse files
committed
Autoupdate test
1 parent 4d5bb07 commit df6b105

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,11 @@ jobs:
1111
runs-on: "ubuntu-latest"
1212
steps:
1313
- name: "Import workspace"
14-
uses: actions/checkout@v1
15-
16-
- uses: actions/checkout@v2
14+
uses: actions/checkout@v2
1715

1816
- name: "Set env"
1917
run: 'echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV'
2018

21-
- name: Setup git
22-
run: |
23-
git config --global user.name "FelixSelter"
24-
git config --global user.email "[email protected]"
25-
git checkout main
26-
2719
- name: Find and Replace
2820
uses: jacobtomlinson/gha-find-replace@v2
2921
with:
@@ -34,6 +26,8 @@ jobs:
3426

3527
- name: Commit and push changes
3628
run: |
29+
git config --global user.name "FelixSelter"
30+
git config --global user.email "[email protected]"
3731
git add src/jenv.ps1
3832
git commit -m "Inserted version into source file"
3933
git push

0 commit comments

Comments
 (0)