summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorruki <[email protected]>2024-09-13 23:00:28 +0800
committerruki <[email protected]>2024-09-13 23:00:28 +0800
commitd420fb661ed86109d6c94c90b959955faed2f436 (patch)
tree4917976026cbaeaa6a9d5390162bb126ce470664 /.github/workflows
parent4fe5a495a81ebb3c7f032dfb9fd7f92298f41510 (diff)
fix ci
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/macos.yml3
-rw-r--r--.github/workflows/macos_arm64.yml3
-rw-r--r--.github/workflows/windows.yml2
3 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index a75325b2c..e75c422c7 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -50,6 +50,7 @@ jobs:
xmake pack -y --autobuild=n --basename=xmake -o ../artifacts xmakesrc
xmake f --embed=y -c
xmake
+ mkdir ../artifacts
cp build/xmake ../artifacts/xmake-bundle
cd ..
- uses: actions/upload-artifact@v4
@@ -67,7 +68,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: xmake-bundle.macos.x86_64
- path: artifact/xmake-bundle
+ path: artifacts/xmake-bundle
# upload artifacts to latest release
- name: Get Previous tag
diff --git a/.github/workflows/macos_arm64.yml b/.github/workflows/macos_arm64.yml
index 81c0aad7c..de909462d 100644
--- a/.github/workflows/macos_arm64.yml
+++ b/.github/workflows/macos_arm64.yml
@@ -43,12 +43,13 @@ jobs:
cd core
xmake f --embed=y -c
xmake
+ mkdir ../artifacts
cp build/xmake ../artifacts/xmake-bundle
cd ..
- uses: actions/upload-artifact@v4
with:
name: xmake-bundle.macos.arm64
- path: artifact/xmake-bundle
+ path: artifacts/xmake-bundle
- name: Publish bundle binary
if: github.event.action == 'published'
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index bca0db4f5..0d2a32855 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -59,7 +59,7 @@ jobs:
cd core
xmake f -vD -a ${{ matrix.arch }} --embed=y -c
xmake
- cp build/xmake.exe ../artifacts/${{env.RELEASE_NAME}}/xmake-bundle.exe
+ xmake l os.cp build/xmake.exe ../artifacts/${{env.RELEASE_NAME}}/xmake-bundle.exe
xmake f -vD -a ${{ matrix.arch }} -c
xmake -vD
cd ..