Skip to content

Commit ff38688

Browse files
committed
Update workflow
1 parent 652894f commit ff38688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-library-refs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

2020
- name: Establish Library Reference
2121
shell: pwsh
22-
run: |
22+
run: |
23+
$CommitHash = (git rev-parse HEAD)
2324
git fetch origin main
2425
git worktree add ../main origin/main
2526
Set-Location ../main
26-
$CommitHash = (git rev-parse HEAD)
2727
Get-Item "./f95/*", "./lc/*" | ForEach-Object -Process {(Get-Content $_) -replace '[a-f0-9]{40}', $CommitHash | Set-Content $_}
2828
git config --global user.name ${{ secrets.USER_NAME }}
2929
git config --global user.email ${{ secrets.EMAIL }}

0 commit comments

Comments
 (0)