Skip to content

Commit f0eb449

Browse files
authored
Merge pull request #2 from dsnopek/fix-ci-for-prs-from-forks
Fix CI for PRs from forks
2 parents 38fb1d5 + 61c1b8c commit f0eb449

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-addon-on-push.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ env:
1313
# Only used for the cache key. Increment version to force clean build.
1414
GODOT_BASE_BRANCH: main
1515
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
16+
# Meta Platform SDK v67.0.
17+
META_PLATFORM_SDK_URL: "https://securecdn.oculus.com/binaries/download/?id=6176126005844383"
1618

1719
jobs:
1820
build:
@@ -69,7 +71,7 @@ jobs:
6971
continue-on-error: true
7072
- name: Download Meta Platform SDK (POSIX)
7173
run: |
72-
wget "${{ secrets.META_PLATFORM_SDK_URL }}" -O meta_platform_sdk.zip
74+
wget "${{ env.META_PLATFORM_SDK_URL }}" -O meta_platform_sdk.zip
7375
cd godot_meta_toolkit/thirdparty/ovr_platform_sdk
7476
unzip -a ../../../meta_platform_sdk.zip
7577
cd ../../..
@@ -78,7 +80,7 @@ jobs:
7880
- name: Download Meta Platform SDK (Windows)
7981
shell: pwsh
8082
run: |
81-
Invoke-WebRequest -Uri "${{ secrets.META_PLATFORM_SDK_URL }}" -OutFile "meta_platform_sdk.zip"
83+
Invoke-WebRequest -Uri "${{ env.META_PLATFORM_SDK_URL }}" -OutFile "meta_platform_sdk.zip"
8284
Set-Location "godot_meta_toolkit/thirdparty/ovr_platform_sdk"
8385
Expand-Archive -Path "../../../meta_platform_sdk.zip" -DestinationPath "."
8486
Set-Location "../../.."

0 commit comments

Comments
 (0)