opt: transfer file through artifact
This commit is contained in:
parent
400911f782
commit
d0aedaedce
20
.github/workflows/flutter-nightly.yml
vendored
20
.github/workflows/flutter-nightly.yml
vendored
@ -188,7 +188,13 @@ jobs:
|
|||||||
prerelease: true
|
prerelease: true
|
||||||
tag_name: ${{ env.TAG_NAME }}
|
tag_name: ${{ env.TAG_NAME }}
|
||||||
files: |
|
files: |
|
||||||
rustdesk*.deb
|
rustdesk-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
||||||
|
|
||||||
|
- name: Upload Artifcat
|
||||||
|
uses: actions/upload-artifact@master
|
||||||
|
with:
|
||||||
|
name: rustdesk-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
||||||
|
path: rustdesk-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
||||||
|
|
||||||
- name: Build archlinux package
|
- name: Build archlinux package
|
||||||
uses: vufa/arch-makepkg-action@master
|
uses: vufa/arch-makepkg-action@master
|
||||||
@ -233,8 +239,9 @@ jobs:
|
|||||||
res/rustdesk*.zst
|
res/rustdesk*.zst
|
||||||
|
|
||||||
build-flatpak:
|
build-flatpak:
|
||||||
|
name: Build Flatpak
|
||||||
needs: [build-for-linux]
|
needs: [build-for-linux]
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ${{ matrix.job.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -257,9 +264,14 @@ jobs:
|
|||||||
sudo apt install -y flatpak flatpak-builder cmake g++ gcc git curl wget nasm yasm libgtk-3-dev
|
sudo apt install -y flatpak flatpak-builder cmake g++ gcc git curl wget nasm yasm libgtk-3-dev
|
||||||
|
|
||||||
- name: Download Binary
|
- name: Download Binary
|
||||||
|
uses: actions/download-artifact@master
|
||||||
|
with:
|
||||||
|
name: rustdesk-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
||||||
|
path: .
|
||||||
|
|
||||||
|
- name: Rename Binary
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-${{ env.VERSION }}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb
|
mv rustdesk-${{ matrix.job.target }}-${{ matrix.job.os }}.deb rustdesk-${{ env.VERSION }}.deb
|
||||||
mv rustdesk-${{ env.VERSION }}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb rustdesk-${{ env.VERSION }}.deb
|
|
||||||
|
|
||||||
- name: Install Flatpak deps
|
- name: Install Flatpak deps
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user