summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-07-07 22:47:59 +0200
committerGitHub <noreply@github.com>2023-07-07 22:47:59 +0200
commitf80edad10920247fee34422c14b4b22d6228cd14 (patch)
tree4b4fd2f3157ed81514eea9716be6102d9898c5b3
parentMerge pull request #11041 from Morph1984/vksdk (diff)
parentverify: Remove dependence on chocolatey (diff)
downloadyuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.gz
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.bz2
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.lz
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.xz
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.tar.zst
yuzu-f80edad10920247fee34422c14b4b22d6228cd14.zip
-rw-r--r--.github/workflows/android-build.yml1
-rw-r--r--.github/workflows/verify.yml19
2 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml
index e639e965a..5893f860e 100644
--- a/.github/workflows/android-build.yml
+++ b/.github/workflows/android-build.yml
@@ -10,6 +10,7 @@ on:
jobs:
android:
runs-on: ubuntu-latest
+ if: ${{ github.repository == 'yuzu-emu/yuzu-android' }}
steps:
- uses: actions/checkout@v3
with:
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 6420fd82b..cbe6b0fbd 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -85,16 +85,17 @@ jobs:
restore-keys: |
${{ runner.os }}-msvc-
- name: Install dependencies
- # due to how chocolatey works, only cmd.exe is supported here
- shell: cmd
+ shell: pwsh
run: |
- choco install wget
- call refreshenv
- wget https://github.com/mbitsnbites/buildcache/releases/download/v0.27.6/buildcache-windows.zip
- 7z x buildcache-windows.zip
- copy buildcache\bin\buildcache.exe C:\ProgramData\chocolatey\bin
- rmdir buildcache
- echo %PATH% >> %GITHUB_PATH%
+ $ErrorActionPreference = "Stop"
+ $BuildCacheVer = "v0.28.4"
+ $File = "buildcache-windows.zip"
+ $Uri = "https://github.com/mbitsnbites/buildcache/releases/download/$BuildCacheVer/$File"
+ $WebClient = New-Object System.Net.WebClient
+ $WebClient.DownloadFile($Uri, $File)
+ 7z x $File
+ $CurrentDir = Convert-Path .
+ echo "$CurrentDir/buildcache/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install Vulkan SDK
shell: pwsh
run: .\.ci\scripts\windows\install-vulkan-sdk.ps1