summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-21 23:20:05 +0800
committerruki <[email protected]>2024-08-21 23:20:05 +0800
commitb8235aa4a4557fd0c33420fe817f2fa68dd69682 (patch)
treeb4312bff07089b927aa2fa2609213275d42a43ab
parente9c5cecc2afa094aac017acb29650e959e214cad (diff)
add artifact
-rw-r--r--.github/workflows/cosmocc.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml
index 381e1eaae..44ef30eec 100644
--- a/.github/workflows/cosmocc.yml
+++ b/.github/workflows/cosmocc.yml
@@ -45,7 +45,16 @@ jobs:
run: |
source scripts/srcenv.profile
xmake --version
- xmake l os.programfile
xmake lua -v -D tests/run.lua
xrepo --version
+ - name: Artifact
+ run: |
+ brew install gnu-tar
+ cd core
+ xmake pack -y --autobuild=n --basename=xmake -f zip -o ../artifacts xmake
+ cd ..
+ - uses: actions/upload-artifact@v2
+ with:
+ name: xmake-latest.zip
+ path: artifacts/xmake.zip