From ce40f6691536aeee702363d0353648f1dbe22f72 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 31 May 2020 12:50:54 +0800 Subject: update ci --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9984ff30e..0a8e8c69d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,3 +27,23 @@ jobs: - name: tests run: | xmake lua -v -D tests/run.lua + - name: artifact + if: matrix.os == 'macOS-latest' + run: | + scripts/archive-all + scripts/makeself/build-runfile.sh + - uses: actions/upload-artifact@v2 + if: matrix.os == 'macOS-latest' + with: + name: xmake.gz.run + path: scripts/makeself/xmake.gz.run + - uses: actions/upload-artifact@v2 + if: matrix.os == 'macOS-latest' + with: + name: xmake.xz.run + path: scripts/makeself/xmake.xz.run + - uses: actions/upload-artifact@v2 + if: matrix.os == 'macOS-latest' + with: + name: xmake-latest.tar.gz + path: *.tar.gz -- cgit v1.3.1