Version 6.0 #109
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: SysDVR-Client | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths: | |
- Client/** | |
- ClientGUI/** | |
- Libs/** | |
- ReleaseClient.bat | |
# but not the linux folder | |
- '!Client/linux/**' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- Client/** | |
- ClientGUI/** | |
- Libs/** | |
- ReleaseClient.bat | |
- '!Client/linux/**' | |
jobs: | |
build: | |
# Must use windows-2019 as windows-latest doesn't have .net framework 4.5 needed to build the GUI | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
# SysDVR-Client uses .NET6 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.x | |
# SysDVR-ClientGUI uses net framework | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Run build script | |
run: .\ReleaseClient.bat | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: SysDVR-Client | |
path: Client.7z |