From b84567268c801f4594de8a9c9108669b1e2c4180 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Sat, 2 Jul 2022 02:18:03 +0900 Subject: [PATCH] Upload build / update release on updates to master --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4be9fc5..89a007c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,3 +21,16 @@ jobs: unzip GC_WII_COMPILERS.zip MWCIncludes=. ./wibo GC/2.7/mwcceppc.exe -c test/test.c file test.o + + - name: Upload build + uses: actions/upload-artifact@v2 + with: + name: wibo + path: wibo + + - name: Update release + uses: johnwbyrd/update-release@v1.0.0 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + with: + token: ${{ secrets.GITHUB_TOKEN }} + files: wibo \ No newline at end of file