👷 监控客户端自动化构建
This commit is contained in:
parent
3499bcdd4b
commit
308defaa53
10
.github/workflows/client-builder.yml
vendored
10
.github/workflows/client-builder.yml
vendored
@ -22,15 +22,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
working-directory: ./clients
|
working-directory: clients
|
||||||
|
|
||||||
- name: Build for Linux x86
|
- name: Build for Linux x86
|
||||||
run: npm run pkglinux:x86
|
run: npm run pkglinux:x86
|
||||||
working-directory: ./clients
|
working-directory: clients
|
||||||
|
|
||||||
- name: Build for Linux ARM64
|
- name: Build for Linux ARM64
|
||||||
run: npm run pkglinux:arm
|
run: npm run pkglinux:arm
|
||||||
working-directory: ./clients
|
working-directory: clients
|
||||||
|
|
||||||
- name: Get the latest release ID
|
- name: Get the latest release ID
|
||||||
id: get_release
|
id: get_release
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}/assets
|
upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}/assets
|
||||||
asset_path: ./clients/dist/easynode-client-x86
|
asset_path: clients/dist/easynode-client-x86
|
||||||
asset_name: easynode-client-x86
|
asset_name: easynode-client-x86
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
overwrite: true
|
overwrite: true
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}/assets
|
upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}/assets
|
||||||
asset_path: ./clients/dist/easynode-client-arm64
|
asset_path: clients/dist/easynode-client-arm64
|
||||||
asset_name: easynode-client-arm64
|
asset_name: easynode-client-arm64
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user