Skip to content

Commit

Permalink
Update Workflows and Generation Project
Browse files Browse the repository at this point in the history
  • Loading branch information
F4NT0 committed Apr 5, 2024
1 parent 4ed1b13 commit 9a8cf0a
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 17 deletions.
Binary file modified .github/workflows/1.yml
Binary file not shown.
Binary file modified .github/workflows/1342.yml
Binary file not shown.
3 changes: 0 additions & 3 deletions .github/workflows/1480.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:

build:

strategy:
matrix:
configuration: [Debug, Release]

runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
Expand Down
Binary file modified .github/workflows/1544.yml
Binary file not shown.
Binary file modified .github/workflows/1614.yml
Binary file not shown.
3 changes: 0 additions & 3 deletions .github/workflows/1672.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:

build:

strategy:
matrix:
configuration: [Debug, Release]

runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
Expand Down
Binary file modified .github/workflows/1768.yml
Binary file not shown.
Binary file modified .github/workflows/205.yml
Binary file not shown.
Binary file modified .github/workflows/383.yml
Binary file not shown.
Binary file modified .github/workflows/389.yml
Binary file not shown.
Binary file modified .github/workflows/412.yml
Binary file not shown.
3 changes: 0 additions & 3 deletions .github/workflows/58.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:

build:

strategy:
matrix:
configuration: [Debug, Release]

runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
Expand Down
Binary file modified .github/workflows/79.yml
Binary file not shown.
Binary file modified .github/workflows/876.yml
Binary file not shown.
Binary file modified .github/workflows/9.yml
Binary file not shown.
15 changes: 7 additions & 8 deletions generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,18 @@ dotnet test $testProjectName/$testProjectCsproj
Write-Host ''
Write-Host 'Creating Documentation...' -ForegroundColor Cyan
Write-Host ''
$solutionNameYml = $solutionName + '.yml'
$readme = @"
# $solutionName
Level: `$\color{lightgreen}{\sf Easy}$` OR `$\color{gold}{\sf Medium}$` OR `$\color{red}{\sf Hard}$`
Language: C#
Topic: $\color{yellow} \sf insert \space topic \space here$
Unit Tests: ![$solutionName - Testing Results](https://github.com/F4NT0/My-LeetCode-Solvings/actions/workflows/$solutionNameYml/badge.svg?branch=main)](https://github.com/F4NT0/My-LeetCode-Solvings/actions/workflows/$solutionNameYml)
---
ADD HERE THE DESCRIPTION OF THE PROJECT AND EXAMPLES
Expand Down Expand Up @@ -172,18 +176,13 @@ name: $solutionName - Testing Results
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
paths:
- '$solutionName/**'
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
Expand All @@ -208,7 +207,7 @@ jobs:
run: dotnet test --nologo --logger "console;verbosity=detailed" .\$solutionName\$testProjectName\$testProjectCsproj
"@

$solutionNameYml = $solutionName + '.yml'

$workflowScript | Out-File -FilePath $solutionNameYml

# --------------------
Expand Down

0 comments on commit 9a8cf0a

Please sign in to comment.