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

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2024-02-26 10:25:45 +08:00 committed by GitHub
parent 49c107bb5f
commit ddbd4e79a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,7 @@ jobs:
build-RustDeskTempTopMostWindow: build-RustDeskTempTopMostWindow:
uses: ./.github/workflows/third-party-RustDeskTempTopMostWindow.yml uses: ./.github/workflows/third-party-RustDeskTempTopMostWindow.yml
with: with:
upload-artifact: ${{ inputs.upload-artifact }}
target: windows-2019 target: windows-2019
configuration: Release configuration: Release
platform: x64 platform: x64
@ -138,6 +139,7 @@ jobs:
- name: Download RustDeskTempTopMostWindow artifacts - name: Download RustDeskTempTopMostWindow artifacts
uses: actions/download-artifact@master uses: actions/download-artifact@master
if: ${{ inputs.upload-artifact }}
with: with:
name: topmostwindow-artifacts name: topmostwindow-artifacts
path: './flutter/build/windows/x64/runner/Release/' path: './flutter/build/windows/x64/runner/Release/'

View File

@ -3,6 +3,9 @@ name: build RustDeskTempTopMostWindow
on: on:
workflow_call: workflow_call:
inputs: inputs:
upload-artifact:
type: boolean
default: true
target: target:
description: 'Target' description: 'Target'
required: true required: true
@ -50,6 +53,7 @@ jobs:
- name: Archive build artifacts - name: Archive build artifacts
uses: actions/upload-artifact@master uses: actions/upload-artifact@master
if: ${{ inputs.upload-artifact }}
with: with:
name: topmostwindow-artifacts name: topmostwindow-artifacts
path: | path: |