diff options
| author | ruki <[email protected]> | 2024-08-21 23:20:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-21 23:20:05 +0800 |
| commit | b8235aa4a4557fd0c33420fe817f2fa68dd69682 (patch) | |
| tree | b4312bff07089b927aa2fa2609213275d42a43ab | |
| parent | e9c5cecc2afa094aac017acb29650e959e214cad (diff) | |
add artifact
| -rw-r--r-- | .github/workflows/cosmocc.yml | 11 |
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 |
