Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Refact. ci, third party, upload artifact (#7265)

fufesouddbd4e79a227
diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml
index 0a3f7a9c3..7d4f3e56a 100644
--- a/.github/workflows/flutter-build.yml
+++ b/.github/workflows/flutter-build.yml
@@ -38,6 +38,7 @@ jobs:
build-RustDeskTempTopMostWindow:
uses: ./.github/workflows/third-party-RustDeskTempTopMostWindow.yml
with:
+ upload-artifact: ${{ inputs.upload-artifact }}
target: windows-2019
configuration: Release
platform: x64
@@ -138,6 +139,7 @@ jobs:
- name: Download RustDeskTempTopMostWindow artifacts
uses: actions/download-artifact@master
+ if: ${{ inputs.upload-artifact }}
with:
name: topmostwindow-artifacts
path: './flutter/build/windows/x64/runner/Release/'
diff --git a/.github/workflows/third-party-RustDeskTempTopMostWindow.yml b/.github/workflows/third-party-RustDeskTempTopMostWindow.yml
index c43410ef3..78f3ad2f1 100644
--- a/.github/workflows/third-party-RustDeskTempTopMostWindow.yml
+++ b/.github/workflows/third-party-RustDeskTempTopMostWindow.yml
@@ -3,6 +3,9 @@ name: build RustDeskTempTopMostWindow
on:
workflow_call:
inputs:
+ upload-artifact:
+ type: boolean
+ default: true
target:
description: 'Target'
required: true
@@ -50,6 +53,7 @@ jobs:
- name: Archive build artifacts
uses: actions/upload-artifact@master
+ if: ${{ inputs.upload-artifact }}
with:
name: topmostwindow-artifacts
path: |