Skip to content

Commit bb514a3

Browse files
committed
Fix ci
1 parent e8270c8 commit bb514a3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343

4444
# Checkout Local Repository
4545
- name: Checkout
46-
working-directory: ${{ env.packagePath }}
4746
uses: actions/checkout@v4
47+
with:
48+
path: ${{ env.packagePath }}
4849

4950
# Get the Package version based on the package.json file
5051
- name: Get Version

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,26 @@ jobs:
3333
unityVersion: ${{ matrix.unityVersion }}
3434
manifest: "{}"
3535
- name: Checkout repository
36-
working-directory: ${{ env.PACKAGE_DIRECTORY }}
3736
uses: actions/checkout@v4
37+
with:
38+
path: ${{ env.PACKAGE_DIRECTORY }}
3839

3940
- name: Create LFS file list
4041
working-directory: ${{ env.PACKAGE_DIRECTORY }}
4142
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
4243

4344
- name: Restore LFS cache
4445
uses: actions/cache@v3
45-
working-directory: ${{ env.PACKAGE_DIRECTORY }}
4646
with:
47-
path: ./.git/lfs
47+
path: ${{ env.PACKAGE_DIRECTORY }}/.git/lfs
4848
key: ${{ runner.os }}-lfs-${{ hashFiles('./.lfs-assets-id') }}
4949

5050
- name: Git LFS Pull
51+
working-directory: ${{ env.PACKAGE_DIRECTORY }}
5152
run: |
5253
git lfs pull
5354
git add .
5455
git reset --hard
55-
working-directory: ${{ env.PACKAGE_DIRECTORY }}
5656
5757
- uses: actions/cache@v3
5858
with:

0 commit comments

Comments
 (0)