Add Build workflow and disable codeql-analysis

This commit is contained in:
Maksym Koshovyi 2022-02-19 21:11:32 +02:00
parent beecf06b6a
commit aab48bc873
3 changed files with 42 additions and 7 deletions

23
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Build
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Install workload
run: dotnet workload install maui
- name: Setup Java SDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build
run: dotnet build -c Release

View File

@ -11,14 +11,16 @@
#
name: "CodeQL"
# Workflow disabled as it currently fails to build the solution
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '39 2 * * 1'
workflow_dispatch:
#push:
# branches: [ master ]
#pull_request:
# # The branches below must be a subset of the branches above
# branches: [ master ]
#schedule:
# - cron: '39 2 * * 1'
jobs:
analyze:

View File

@ -11,6 +11,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
Directory.Build.props = Directory.Build.props
README.md = README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{1FB655C0-7B00-4DD3-A8C4-6AE2CEEA0FBB}"
ProjectSection(SolutionItems) = preProject
.github\workflows\build.yml = .github\workflows\build.yml
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
EndProjectSection
EndProject
Global
@ -33,6 +40,9 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{1FB655C0-7B00-4DD3-A8C4-6AE2CEEA0FBB} = {6C9F4200-8CE0-4C82-B883-6C2BB69A1EE2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572}
EndGlobalSection