moonlight-nx/.github/workflows/main.yml

36 lines
861 B
YAML

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://florianpiesche/moonlight-nx-build:latest
env:
# Set this to empty to skip building libcurl 7.69.1-1
LIBCURL_PKGBUILD_URL: https://github.com/devkitPro/pacman-packages/raw/1582ad85914b14497fae32a9fe9074c0374f99f7/switch/curl/PKGBUILD
# As pkgbuild needs to run unprivileged, this defines the user it will be run as
LIBCURL_BUILD_USER: build
steps:
- name: Check out repository
uses: actions/checkout@master
with:
submodules: recursive
- name: Run build
run: ./build.sh
- name: Upload moonlight.nro
uses: actions/upload-artifact@master
with:
name: moonlight
path: moonlight.nro