Skip to content

CI Error when no files found #1

CI Error when no files found

CI Error when no files found #1

# Deploy for Windows

Check failure on line 1 in .github/workflows/job-deploy-windows.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/job-deploy-windows.yml

Invalid workflow file

(Line: 27, Col: 9): Unexpected value 'if-no-files-found'
#
name: Windows Deploy Workflow
on:
workflow_call:
inputs:
targetFramework:
type: string
required: true
configuration:
type: string
default: 'Release'
jobs:
deploy:
name: deploy-windows-x64-${{ inputs.configuration }}
runs-on: windows-2022
steps:
- uses: actions/download-artifact@v4
with:
path: Result.Windows.x64.MultiConfig
name: Build-Windows-x64-Release
- name: Publish Artifacts
uses: actions/upload-artifact@v4
if-no-files-found: error
with:
name: Windows-x64-${{ inputs.configuration }}
path: |
Result.Windows.x64.MultiConfig/bin