mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-04 00:35:35 +00:00
zipped binaries
This commit is contained in:
parent
70e6cf13ec
commit
1c5d4c3cb2
47
.github/workflows/build.yaml
vendored
47
.github/workflows/build.yaml
vendored
@ -75,45 +75,34 @@ jobs:
|
|||||||
name: Github release
|
name: Github release
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
job:
|
||||||
|
- { name: "amd64" }
|
||||||
|
- { name: "arm64v8" }
|
||||||
|
- { name: "armv7" }
|
||||||
|
- { name: "i386" }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Download binaries (amd64)
|
- name: Download binaries (${{ matrix.job.name }})
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: binaries-amd64
|
name: binaries-${{ matrix.job.name }}
|
||||||
path: amd64
|
path: ${{ matrix.job.name }}
|
||||||
|
|
||||||
- name: Download binaries (arm64v8)
|
- name: Pack files (${{ matrix.job.name }})
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
sudo apt update
|
||||||
name: binaries-arm64v8
|
DEBIAN_FRONTEND=noninteractive sudo apt install -y zip
|
||||||
path: arm64v8
|
zip ${{ matrix.job.name }}/rustdesk-server-linux-${{ matrix.job.name }}.zip ${{ matrix.job.name }}/hbbr ${{ matrix.job.name }}/hbbs ${{ matrix.job.name }}/rustdesk-utils
|
||||||
|
|
||||||
- name: Download binaries (armv7)
|
- name: Create Release (${{ matrix.job.name }})
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: binaries-armv7
|
|
||||||
path: armv7
|
|
||||||
|
|
||||||
- name: Download binaries (i386)
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: binaries-i386
|
|
||||||
path: i386
|
|
||||||
|
|
||||||
- name: Rename files
|
|
||||||
run: for arch in amd64 arm64v8 armv7 i386 ; do for b in hbbr hbbs rustdesk-utils ; do mv -v ${arch}/${b} ${arch}/${b}-${arch} ; done ; done
|
|
||||||
|
|
||||||
- name: Create Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
files: |
|
files: ${{ matrix.job.name }}/rustdesk-server-linux-${{ matrix.job.name }}.zip
|
||||||
amd64/*
|
|
||||||
arm64v8/*
|
|
||||||
armv7/*
|
|
||||||
i386/*
|
|
||||||
|
|
||||||
# docker build and push of single-arch images
|
# docker build and push of single-arch images
|
||||||
docker:
|
docker:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user