CWE-134: Uncontrolled format string - Fix #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test / Fanart Handler | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- edited | |
- ready_for_review | |
branches: | |
- master | |
jobs: | |
build: | |
name: Fanart Handler / Build | |
runs-on: windows-2019 | |
steps: | |
- name: Setup Visual Studio 2019 | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
vs-version: 16.11 | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
build_git.bat < nul | |
working-directory: ${{ github.workspace }}\scripts | |
shell: cmd | |
- name: Upload Artifact / Plugin | |
uses: actions/upload-artifact@v4 | |
if: ${{ success() }} | |
with: | |
name: FanartHandler | |
path: | | |
${{ github.workspace }}\FanartHandler\bin\Release\FanartHandler.dll | |
retention-days: 7 | |
if-no-files-found: error | |
ci-status: | |
name: Build Status | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
if: always() | |
steps: | |
- name: Success | |
if: ${{ !(contains(needs.*.result, 'failure')) }} | |
run: exit 0 | |
- name: Failure | |
if: ${{ contains(needs.*.result, 'failure') }} | |
run: exit 1 |