From 299b71a72f9f0471f8c1cc832845ca8c65f9928b Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Mon, 21 Sep 2020 17:04:45 +0800 Subject: [PATCH] add nightly --- .github/workflows/nightly.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..b46dd90 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,34 @@ +name: Nightly + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: update Atmosphere-libs + run: | + pushd Atmosphere-libs + git reset --hard origin/master + popd + - uses: spacemeowx2/devkitpro-action@latest + with: + cmd: make -j8 + + - name: Upload built files + uses: actions/upload-artifact@v1 + with: + name: sdcard + path: out/sd + + - name: Upload elf file + uses: actions/upload-artifact@v1 + with: + name: ldn_mitm.elf + path: ldn_mitm/ldn_mitm.elf