summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-31 12:50:54 +0800
committerruki <[email protected]>2020-05-31 12:50:54 +0800
commitce40f6691536aeee702363d0353648f1dbe22f72 (patch)
treeda969d6c0fd3556e3a23f3d0f7f52b89c49df2e6
parente992cc5c639e24be50a983f480068cc53386177f (diff)
update ci
-rw-r--r--.github/workflows/main.yml20
1 files changed, 20 insertions, 0 deletions
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