From b8235aa4a4557fd0c33420fe817f2fa68dd69682 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 21 Aug 2024 23:20:05 +0800 Subject: add artifact --- .github/workflows/cosmocc.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1