From 0eefdc38ccf2226e18bfd2b1bb4466b42396fb43 Mon Sep 17 00:00:00 2001 From: CompSciOrBust <54033033+CompSciOrBust@users.noreply.github.com> Date: Sat, 6 Nov 2021 20:50:24 +0000 Subject: [PATCH] Update GitHub actions --- .github/workflows/main.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87544e1..8b7eeeb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,22 @@ name: Build Amiigo -sudo: required services: docker -install: docker pull devkitpro/devkita64 -script: docker run -ex make \ No newline at end of file +sudo: required + +on: [push] +jobs: + Build: + runs-on: ubuntu-latest + steps: + uses: actions/checkout@v1 + name: Update repo. + run: git submodule update --init --recursive + + name: Install devkitpro + run: docker pull devkitpro/devkita64 + + name: Make Amiigo + run: docker run -e ENABLE_COMPATIBILITY_REPORTING -v $TRAVIS_BUILD_DIR:/Amiigo devkitpro/devkita64 /bin/bash -ex make + uses: actions/upload-artifact@master + with: + name: Amiigo + path: Amiigo.nro \ No newline at end of file