Skip to content

Commit

Permalink
internal: rearrange Git SHA capture in workflow (#2279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Dec 22, 2024
1 parent e6831f7 commit c4a928d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/pr_base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ runs:
"token": "${{inputs.SKYMP5_PATCHES_PAT}}"
}
]
- name: Get Git SHA Before Gather
id: repo_sha
shell: powershell
run: |
$sha = git rev-parse HEAD
echo "sha=$sha" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: Commit gathered PRs
if: ${{ inputs.DEPLOY_BRANCH != '' }}
Expand All @@ -66,13 +73,6 @@ runs:
git commit -m "Merge PRs ${{inputs.DEPLOY_BRANCH}}"
shell: powershell

- name: Get Current Git SHA
id: repo_sha
shell: powershell
run: |
$sha = git rev-parse HEAD
echo "sha=$sha" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: Cache build dir
uses: actions/cache@v4
with:
Expand Down

0 comments on commit c4a928d

Please sign in to comment.