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 linux

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

View workflow run for this annotation

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

Invalid workflow file

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