Skip to content

Commit 93ab61f

Browse files
committed
[ci] rename artifacts
1 parent 9e2a0af commit 93ab61f

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
commit_date: ${{steps.version.outputs.commit_date}}
5252
commit_sha: ${{steps.version.outputs.commit_sha}}
5353

54-
build-ztm-cli-linux-x86_64:
54+
build-ztm-aio-linux-x86_64:
5555
needs: set-release-version
56-
name: build-ztm-cli-linux-x86_64
56+
name: build-ztm-aio-linux-x86_64
5757
runs-on: ubuntu-20.04
5858
steps:
5959
- uses: actions/checkout@v4
@@ -77,12 +77,12 @@ jobs:
7777
- name: Upload artifacts
7878
uses: actions/upload-artifact@v4
7979
with:
80-
name: ztm-cli-${{needs.set-release-version.outputs.release_version}}-generic_linux-x86_64.tar.gz
81-
path: ztm-cli-${{needs.set-release-version.outputs.release_version}}-generic_linux-x86_64.tar.gz
80+
name: ztm-aio-${{needs.set-release-version.outputs.release_version}}-generic_linux-x86_64.tar.gz
81+
path: ztm-aio-${{needs.set-release-version.outputs.release_version}}-generic_linux-x86_64.tar.gz
8282

83-
# build-ztm-cli-linux-arm64:
83+
# build-ztm-aio-linux-arm64:
8484
# needs: set-release-version
85-
# name: build-ztm-cli-linux-arm64
85+
# name: build-ztm-aio-linux-arm64
8686
# runs-on: [self-hosted, linux, ARM64]
8787
# steps:
8888
# - uses: actions/checkout@v4
@@ -106,12 +106,12 @@ jobs:
106106
# - name: Upload artifacts
107107
# uses: actions/upload-artifact@v4
108108
# with:
109-
# name: ztm-cli-${{needs.set-release-version.outputs.release_version}}-generic_linux-arm64.tar.gz
110-
# path: ztm-cli-${{needs.set-release-version.outputs.release_version}}-generic_linux-arm64.tar.gz
109+
# name: ztm-aio-${{needs.set-release-version.outputs.release_version}}-generic_linux-arm64.tar.gz
110+
# path: ztm-aio-${{needs.set-release-version.outputs.release_version}}-generic_linux-arm64.tar.gz
111111

112-
build-ztm-cli-macos-x64:
112+
build-ztm-aio-macos-x86_64:
113113
needs: set-release-version
114-
name: build-ztm-cli-macos-x64
114+
name: build-ztm-aio-macos-x86_64
115115
runs-on: macos-13
116116
steps:
117117
- uses: actions/checkout@v4
@@ -136,12 +136,12 @@ jobs:
136136
- name: Upload artifacts
137137
uses: actions/upload-artifact@v4
138138
with:
139-
name: ztm-cli-${{needs.set-release-version.outputs.release_version}}-macos-x86_64.tar.gz
140-
path: ztm-cli-${{needs.set-release-version.outputs.release_version}}-macos-x86_64.tar.gz
139+
name: ztm-aio-${{needs.set-release-version.outputs.release_version}}-macos-x86_64.tar.gz
140+
path: ztm-aio-${{needs.set-release-version.outputs.release_version}}-macos-x86_64.tar.gz
141141

142-
build-ztm-cli-macos-arm64:
142+
build-ztm-aio-macos-arm64:
143143
needs: set-release-version
144-
name: build-ztm-cli-macos-arm64
144+
name: build-ztm-aio-macos-arm64
145145
runs-on: macos-latest
146146
steps:
147147
- uses: actions/checkout@v4
@@ -166,12 +166,12 @@ jobs:
166166
- name: Upload artifacts
167167
uses: actions/upload-artifact@v4
168168
with:
169-
name: ztm-cli-${{needs.set-release-version.outputs.release_version}}-macos-arm64.tar.gz
170-
path: ztm-cli-${{needs.set-release-version.outputs.release_version}}-macos-arm64.tar.gz
169+
name: ztm-aio-${{needs.set-release-version.outputs.release_version}}-macos-arm64.tar.gz
170+
path: ztm-aio-${{needs.set-release-version.outputs.release_version}}-macos-arm64.tar.gz
171171

172-
build-ztm-cli-win-x64:
172+
build-ztm-aio-win-x86_64:
173173
needs: set-release-version
174-
name: build-ztm-cli-win-x64
174+
name: build-ztm-aio-win-x86_64
175175
runs-on: windows-latest
176176
defaults:
177177
run:
@@ -210,8 +210,8 @@ jobs:
210210
- name: Upload artifacts
211211
uses: actions/upload-artifact@v4
212212
with:
213-
name: ztm-cli-${{needs.set-release-version.outputs.release_version}}-win-x86_64.zip
214-
path: ztm-cli-${{needs.set-release-version.outputs.release_version}}-win-x86_64.zip
213+
name: ztm-aio-${{needs.set-release-version.outputs.release_version}}-win-x86_64.zip
214+
path: ztm-aio-${{needs.set-release-version.outputs.release_version}}-win-x86_64.zip
215215

216216
build-libztm-android:
217217
needs: set-release-version
@@ -259,10 +259,10 @@ jobs:
259259
runs-on: ubuntu-20.04
260260
needs:
261261
- set-release-version
262-
- build-ztm-cli-linux-x86_64
263-
- build-ztm-cli-macos-x64
264-
- build-ztm-cli-macos-arm64
265-
- build-ztm-cli-win-x64
262+
- build-ztm-aio-linux-x86_64
263+
- build-ztm-aio-macos-x86_64
264+
- build-ztm-aio-macos-arm64
265+
- build-ztm-aio-win-x86_64
266266
- build-libztm-android
267267
env:
268268
ZTM_VERSION: ${{needs.set-release-version.outputs.release_version}}
@@ -282,8 +282,8 @@ jobs:
282282
draft: true
283283
tag_name: ${{needs.set-release-version.outputs.release_version}}
284284
files: |
285-
ztm-cli-${{env.ZTM_VERSION}}-generic_linux-x86_64.tar.gz/ztm-cli-${{env.ZTM_VERSION}}-generic_linux-x86_64.tar.gz
286-
ztm-cli-${{env.ZTM_VERSION}}-macos-x86_64.tar.gz/ztm-cli-${{env.ZTM_VERSION}}-macos-x86_64.tar.gz
287-
ztm-cli-${{env.ZTM_VERSION}}-macos-arm64.tar.gz/ztm-cli-${{env.ZTM_VERSION}}-macos-arm64.tar.gz
288-
ztm-cli-${{env.ZTM_VERSION}}-win-x86_64.zip/ztm-cli-${{env.ZTM_VERSION}}-win-x86_64.zip
285+
ztm-aio-${{env.ZTM_VERSION}}-generic_linux-x86_64.tar.gz/ztm-aio-${{env.ZTM_VERSION}}-generic_linux-x86_64.tar.gz
286+
ztm-aio-${{env.ZTM_VERSION}}-macos-x86_64.tar.gz/ztm-aio-${{env.ZTM_VERSION}}-macos-x86_64.tar.gz
287+
ztm-aio-${{env.ZTM_VERSION}}-macos-arm64.tar.gz/ztm-aio-${{env.ZTM_VERSION}}-macos-arm64.tar.gz
288+
ztm-aio-${{env.ZTM_VERSION}}-win-x86_64.zip/ztm-aio-${{env.ZTM_VERSION}}-win-x86_64.zip
289289
libztm-${{env.ZTM_VERSION}}-android.tar.gz/libztm-${{env.ZTM_VERSION}}-android.tar.gz

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ COPY pipy\bin\Release\pipy.exe bin\ztm.exe
1111
ECHO The final product is ready at bin\ztm.exe
1212

1313
if defined PACKAGE_OUTPUT (
14-
tar.exe -cf ztm-cli-%ZTM_VERSION%-win-x86_64.zip bin\ztm.exe
14+
tar.exe -cf ztm-aio-%ZTM_VERSION%-win-x86_64.zip bin\ztm.exe
1515
)

build/pipy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ then
107107

108108
if [ -z "$BUILD_ZTM_SHARED" ]
109109
then
110-
tar zcvf ztm-cli-${VERSION}-${OS_NAME}-${OS_ARCH}.tar.gz bin/ztm
110+
tar zcvf ztm-aio-${VERSION}-${OS_NAME}-${OS_ARCH}.tar.gz bin/ztm
111111
else
112112
tar zcvf libztm-${VERSION}-android.tar.gz usr/local/lib/*.so
113113
fi

0 commit comments

Comments
 (0)