-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixNetFramework * Update dotnet-desktop.yml * fixed * fixed build issue * deleted * updated setpackageversions * exclude Ocaramba.Templates.csproj * Update dotnet-desktop.yml * Update dotnet-desktop.yml * Update dotnet-desktop.yml * Update dotnet-desktop.yml * Update dotnet-desktop.yml * added System.Text.Json * updated * updated --------- Co-authored-by: Jakub Raczek <jakub.raczek@accenture.com>
- Loading branch information
1 parent
aa30105
commit d668ba6
Showing
12 changed files
with
163 additions
and
72 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,75 @@ | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- '*' | ||
paths-ignore: | ||
- README.md | ||
tags: | ||
- '*' | ||
schedule: | ||
- cron: '0 18 * * 0' | ||
env: | ||
solution: ${{ github.workspace }}/Ocaramba.templates.sln | ||
buildPlatform: Any CPU | ||
buildConfiguration: Release | ||
|
||
templateVersion: 2.0.6 | ||
OcarambaVersion: 4.2.0 | ||
|
||
SeleniumWebDriverVersion: 4.4.0 | ||
SeleniumSupportVersion: 4.4.0 | ||
|
||
SeleniumWebdriverChromeDriverVersion: 131.0.6778.8500 | ||
SeleniumWebDriverGeckoDriverVersion: 0.35.0 | ||
SeleniumWebDriverIEDriverVersion: 4.14.0 | ||
|
||
NUnitVersion: 3.13.3 | ||
NUnit3TestAdapterVersion: 4.6.0 | ||
|
||
MicrosoftNetTestSdkVersion: 17.12.0 | ||
MSTestTestAdapterVersion: 2.2.10 | ||
MSTestTestFrameworkVersion: 2.2.10 | ||
|
||
NPOIVersion: 2.7.2 | ||
NLogVersion: 5.3.4 | ||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up MSBuild | ||
uses: microsoft/setup-msbuild@v2 | ||
- shell: powershell | ||
run: | | ||
$tags = git tag --sort=-creatordate | ||
$tag = $tags[0] | ||
Write-Host "##vso[task.setvariable variable=frameworkVersion]$tag" | ||
if: startsWith(github.ref, 'refs/tags/') | ||
- shell: powershell | ||
run: '((Get-Content -path ./Ocaramba.Templates.VSIX/source.extension.vsixmanifest -Raw) -replace ''Version="\d\.\d.\d" Language'',''Version="${{ env.templateVersion }}" Language'') | Set-Content -Path ./Ocaramba.Templates.VSIX/source.extension.vsixmanifest' | ||
- shell: powershell | ||
run: ./setPackagesVersions.ps1 | ||
- name: Set project versions | ||
id: update | ||
uses: vers-one/dotnet-project-version-updater@v1.4 | ||
with: | ||
file: | | ||
"**/Ocaramba**.csproj" | ||
version: ${{ env.templateVersion }} | ||
- run: msbuild -t:Restore /p:configuration='${{ env.buildConfiguration }}' /v:minimal | ||
- run: msbuild '${{ env.solution }}' /p:configuration='${{ env.buildConfiguration }}' /p:platform='${{ env.buildPlatform }}' /v:minimal | ||
- name: 'Ocaramba Templates' | ||
run: gh release upload ${{ env.frameworkVersion }} ./Ocaramba.Templates.VSIX/bin/Release/Ocaramba.Templates.vsix | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
if: startsWith(github.ref, 'refs/tags/') | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- '*' | ||
paths-ignore: | ||
- README.md | ||
tags: | ||
- '*' | ||
schedule: | ||
- cron: '0 18 * * 0' | ||
env: | ||
solution: ${{ github.workspace }}/Ocaramba.templates.sln | ||
buildPlatform: Any CPU | ||
buildConfiguration: Release | ||
|
||
templateVersion: 2.0.6 | ||
OcarambaVersion: 4.2.0 | ||
|
||
SeleniumWebDriverVersion: 4.27.0 | ||
SeleniumSupportVersion: 4.27.0 | ||
|
||
SeleniumWebdriverChromeDriverVersion: 131.0.6778.8500 | ||
SeleniumWebDriverGeckoDriverVersion: 0.35.0 | ||
SeleniumWebDriverIEDriverVersion: 4.14.0 | ||
|
||
NUnitVersion: 4.2.2 | ||
NUnit3TestAdapterVersion: 4.6.0 | ||
|
||
MicrosoftNetTestSdkVersion: 17.12.0 | ||
MSTestTestAdapterVersion: 2.2.10 | ||
MSTestTestFrameworkVersion: 2.2.10 | ||
|
||
NPOIVersion: 2.7.2 | ||
NLogVersion: 5.3.4 | ||
|
||
SystemTextJsonVersion: 9.0.0 | ||
SystemTextEncodingsWebVersion: 9.0.0 | ||
SystemRuntimeCompilerServicesUnsafeVersion: 6.0.0 | ||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up MSBuild | ||
uses: microsoft/setup-msbuild@v1 | ||
- shell: powershell | ||
run: | | ||
$tags = git tag --sort=-creatordate | ||
$tag = $tags[0] | ||
Write-Host "##vso[task.setvariable variable=frameworkVersion]$tag" | ||
if: startsWith(github.ref, 'refs/tags/') | ||
- shell: powershell | ||
run: '((Get-Content -path ./Ocaramba.Templates.VSIX/source.extension.vsixmanifest -Raw) -replace ''Version="\d\.\d.\d" Language'',''Version="${{ env.templateVersion }}" Language'') | Set-Content -Path ./Ocaramba.Templates.VSIX/source.extension.vsixmanifest' | ||
- shell: powershell | ||
run: ./setPackagesVersions.ps1 | ||
- name: Setup nuget | ||
uses: nuget/setup-nuget@v2 | ||
with: | ||
nuget-version: latest | ||
- name: Set project versions | ||
id: update | ||
uses: vers-one/dotnet-project-version-updater@v1.4 | ||
with: | ||
file: | | ||
"**/Ocaramba**.csproj", | ||
"!**/Ocaramba.Templates.csproj" | ||
version: ${{ env.templateVersion }} | ||
- run: msbuild -t:Restore /p:configuration='${{ env.buildConfiguration }}' /v:minimal | ||
- run: msbuild '${{ env.solution }}' /p:configuration='${{ env.buildConfiguration }}' /p:platform='${{ env.buildPlatform }}' /v:minimal | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./Ocaramba.Templates.VSIX/bin/Release/Ocaramba.Templates.vsix | ||
name: Template |
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
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
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
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
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
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
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
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
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
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
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