Skip to content

Commit 9b9299d

Browse files
committed
build: set working-directory instead of cd
1 parent c042ee4 commit 9b9299d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/xivlauncher.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,13 @@ jobs:
4949
rsync -ahvP /__w/aur-xivlauncher/aur-xivlauncher/ /home/builder/workspace/
5050
chown -R builder:builder /home/builder/
5151
- name: Build package
52+
working-directory: /home/builder/workspace
5253
run: |
53-
cd /home/builder/workspace
5454
sudo -u builder makepkg -scf --noconfirm
5555
sudo -u builder makepkg --printsrcinfo | tee .SRCINFO
5656
- name: Rename artifact
57-
run: |
58-
cd /home/builder/workspace
59-
mv *.pkg.tar.zst ${{ matrix.variant }}.pkg.tar.zst
57+
working-directory: /home/builder/workspace
58+
run: mv *.pkg.tar.zst ${{ matrix.variant }}.pkg.tar.zst
6059
- name: Upload artifact
6160
uses: actions/upload-artifact@v6
6261
with:

0 commit comments

Comments
 (0)