Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Sep 13, 2024
1 parent 4fe5a49 commit d420fb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down

0 comments on commit d420fb6

Please sign in to comment.