Skip to content

Test / MovingPictures #2

Test / MovingPictures

Test / MovingPictures #2

Workflow file for this run

name: Test / MovingPictures
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- edited
- ready_for_review
branches:
- master
jobs:
build:
name: MovingPictures / 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: Nuget
run: |
nuget restore
shell: cmd
- name: Build
run: |
build.cmd < nul
working-directory: ${{ github.workspace }}\build
shell: cmd
- name: Upload Artifact / Plugin
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: MovingPictures
path: |
${{ github.workspace }}\MovingPictures\bin\Release\MovingPictures.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