Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
submodules: 'true'

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src/net/KNet/KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src/net/KNet/KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand Down Expand Up @@ -132,10 +132,10 @@ jobs:
submodules: 'true'

- name: Pre compile templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetTemplates.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetTemplates.sln

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNet\KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNet\KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand All @@ -161,13 +161,13 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Compile command line
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetCLI\KNetCLI.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetCLI\KNetCLI.csproj

- name: Compile KNet Connect
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetConnect\KNetConnect.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetConnect\KNetConnect.csproj

- name: Compile KNetPS
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetPS\KNetPS.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetPS\KNetPS.csproj

- uses: nuget/setup-nuget@v1.1.1
with:
Expand All @@ -177,7 +177,7 @@ jobs:
- run: nuget pack src\net\KNetConnect\KNetConnect.nuspec -OutputDirectory .\bin

- name: Recompile to create nuget packages
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNet.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNet.sln

- name: Prepare PowerShell package
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Maven preparation (step 1)
if: matrix.language == 'java'
run: dotnet build --no-incremental --configuration Release --framework net6.0 /p:Platform="Any CPU" ./src/net/KNet.sln
run: dotnet build --no-incremental --configuration Release --framework net6.0 /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" ./src/net/KNet.sln

- name: Maven preparation (step 2)
if: matrix.language == 'java'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
submodules: 'true'

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src/net/KNet/KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src/net/KNet/KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand Down Expand Up @@ -102,10 +102,10 @@ jobs:
submodules: 'true'

- name: Pre compile templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetTemplates.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetTemplates.sln

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNet\KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNet\KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand All @@ -131,13 +131,13 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Compile command line
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetCLI\KNetCLI.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetCLI\KNetCLI.csproj

- name: Compile KNet Connect
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetConnect\KNetConnect.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetConnect\KNetConnect.csproj

- name: Compile KNetPS
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetPS\KNetPS.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetPS\KNetPS.csproj

- uses: nuget/setup-nuget@v1.1.1
with:
Expand All @@ -161,7 +161,7 @@ jobs:
shell: pwsh

- name: Recompile to create nuget packages
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNet.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNet.sln

# - name: Clear documentation folder
# run: Remove-Item .\docs\* -Recurse -Force -Exclude _config.yml
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
submodules: 'true'

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src/net/KNet/KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src/net/KNet/KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
submodules: 'true'

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src/net/KNet/KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src/net/KNet/KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
submodules: 'true'

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNet\KNet.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNet\KNet.csproj

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand All @@ -172,13 +172,13 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Compile KNet CLI
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetCLI\KNetCLI.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetCLI\KNetCLI.csproj

- name: Compile KNet Connect
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetConnect\KNetConnect.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetConnect\KNetConnect.csproj

- name: Compile KNetPS
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNetPS\KNetPS.csproj
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNetPS\KNetPS.csproj

- uses: nuget/setup-nuget@v1.1.1
with:
Expand All @@ -195,7 +195,7 @@ jobs:
shell: pwsh

- name: Recompile to create nuget packages
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\KNet.sln
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\KNet.sln

- name: Authenticate to GitHub
run: dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
Expand Down