summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-25 00:03:05 +0800
committerruki <[email protected]>2023-11-25 00:03:05 +0800
commite297fa3482ddfd802f949ea6d5a8bb79a2fbf167 (patch)
tree106007e5393bfa83f2785a69769db0d2fc9e7fda
parentcdf118d061648db234dbded8c4d1ca9a27f9638f (diff)
improve macos ci
-rw-r--r--.github/workflows/macos.yml16
-rw-r--r--xmake/plugins/pack/xpack.lua2
2 files changed, 1 insertions, 17 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 121abcd07..765bf1822 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -45,17 +45,12 @@ jobs:
cd core
xmake pack -y --autobuild=n --basename=xmake -o ../artifacts xmakesrc
cd ..
- scripts/makeself/build-runfile.sh
- uses: actions/upload-artifact@v2
with:
name: xmake-latest.gz.run
path: artifacts/xmake.gz.run
- uses: actions/upload-artifact@v2
with:
- name: xmake-latest.xz.run
- path: artifacts/xmake.xz.run
- - uses: actions/upload-artifact@v2
- with:
name: xmake-latest.tar.gz
path: artifacts/xmake.tar.gz
- uses: actions/upload-artifact@v2
@@ -99,17 +94,6 @@ jobs:
asset_name: xmake-${{ steps.tagName.outputs.tag }}.gz.run
asset_content_type: application/zip
- - name: Publish xz runfile
- if: github.event.action == 'published'
- uses: actions/[email protected]
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ github.event.release.upload_url }}
- asset_path: artifacts/xmake.xz.run
- asset_name: xmake-${{ steps.tagName.outputs.tag }}.xz.run
- asset_content_type: application/zip
-
- name: Publish gz archive
if: github.event.action == 'published'
uses: actions/[email protected]
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 4873e3fa1..2a4780945 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -373,7 +373,7 @@ function xpack:extension()
targz = ".tar.gz",
srczip = ".zip",
srctargz = ".tar.gz",
- runself = ".sh",
+ runself = ".gz.run",
deb = ".deb",
rpm = ".rpm"
}