fix: support building for switch on selfhosted runners (#2747)

This commit is contained in:
briaguya 2023-04-25 19:28:41 -04:00 committed by GitHub
parent 000a5d28f3
commit 6d2fd664fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -197,10 +197,12 @@ jobs:
image: devkitpro/devkita64:latest
steps:
- name: Install dependencies
if: ${{ !vars.LINUX_RUNNER }}
run: |
sudo apt-get update
sudo apt-get install -y ninja-build
- name: Fix dubious ownership error
if: ${{ vars.LINUX_RUNNER }}
run: git config --global --add safe.directory '*'
- uses: actions/checkout@v3
with:
submodules: true