Skip to content

Commit db48253

Browse files
committed
build: git status needs to be run in the correct folder
1 parent 08503c1 commit db48253

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/xivlauncher.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ jobs:
8484
rsync -ahvP "$GITHUB_WORKSPACE"/.SRCINFO "$GITHUB_WORKSPACE"/aur/.SRCINFO
8585
- name: Check git status
8686
id: gitstatus
87+
working-directory: "${{ github.workspace }}/aur"
8788
run: |
8889
test -z "$(git status --porcelain)" && echo "clean=1" >> "$GITHUB_OUTPUT" || echo "clean=0" >> "$GITHUB_OUTPUT"
8990
- name: Push
9091
if: success() && steps.gitstatus.outputs.clean == '0'
92+
working-directory: "${{ github.workspace }}/aur"
9193
run: |
92-
cd "$GITHUB_WORKSPACE/aur"
9394
git status
9495
find .
9596
- name: Cleanup SSH

0 commit comments

Comments
 (0)