From aa062fbf467307a353705a2394b5913786f27cbc Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 13:00:00 +0530
Subject: [PATCH 001/103] Create main.yml
---
.github/workflows/main.yml | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 .github/workflows/main.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..1b26c1e
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,63 @@
+name: Build on Github servers
+
+on:
+ push:
+ pull_request:
+
+
+jobs:
+
+ build:
+ runs-on: windows-latest
+
+ defaults:
+ run:
+ working-directory: .
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Setup msbuild
+ uses: microsoft/setup-msbuild@v1.1
+ with:
+ vs-version: '12.0'
+
+
+ - name: Restore Packages
+ run: Nuget restore SourceGrid_2013.sln
+
+ - name: Build
+ run: msbuild -m -t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" /fl SourceGrid_2013.sln
+
+
+ - name: Archive Build Log
+ uses: actions/upload-artifact@v2
+ if: ${{ success() || failure() }}
+ with:
+ name: Compile_Solution_log
+ path: |
+ *.log
+
+ - name: Create zip
+ id: packageBuildResults
+ run: |
+ $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
+ New-Item -ItemType Directory -Force -Path $outFolder
+ $fileName = "sourcegrid-4.0.0.zip"
+ Write-Host "Filename: '$fileName'"
+ Write-Host "sourceFolder: '$sourceFolder'"
+ Write-Host "Outfolder: '$outFolder'"
+ Write-Host "::set-output name=sourcegrid::$($fileName)"
+ $outPath = Join-Path $outFolder $fileName
+ Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+ - name: Archive Build Output
+ uses: actions/upload-artifact@v2
+ with:
+ name: sourcegrid
+ path: |
+ out/sourcegrid
+
From 21ca5386cd1f82a6aa4505c3756a0e5bf1da8f09 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 15:01:40 +0530
Subject: [PATCH 002/103] Update main.yml
---
.github/workflows/main.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1b26c1e..9f73ebb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -60,4 +60,18 @@ jobs:
name: sourcegrid
path: |
out/sourcegrid
+
+
+ - name: Create Nuget Packages
+ id: createNupkg
+ run: |
+ nuget pack CA.nuspec -Version 1.0.0
+ Write-Host "::set-output name=nupkg-LicenseClearingTool::TEST.1.0.0.nupkg"
+
+ - name: Archive NuGet Packages
+ uses: actions/upload-artifact@v2
+ with:
+ name: nuget-TEST
+ path: |
+ *.nupkg
From c2940eba558244a1fb98c1c1115bc21fa7aaa4dc Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 15:08:14 +0530
Subject: [PATCH 003/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9f73ebb..cb16bc3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -66,7 +66,7 @@ jobs:
id: createNupkg
run: |
nuget pack CA.nuspec -Version 1.0.0
- Write-Host "::set-output name=nupkg-LicenseClearingTool::TEST.1.0.0.nupkg"
+ Write-Host "::set-output name=nupkg-TEST::TEST.1.0.0.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
From 6321d6f3a755dee3f523d17718ab38a944863eb0 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 15:23:10 +0530
Subject: [PATCH 004/103] Update main.yml
---
.github/workflows/main.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index cb16bc3..6c62527 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -8,7 +8,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: self-hosted
defaults:
run:
@@ -47,13 +47,14 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-4.0.0.zip"
+ $fileName = "sourcegrid-1.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+
- name: Archive Build Output
uses: actions/upload-artifact@v2
with:
From 3e92d6abfe36ce0b8d18dcfa3cab0824ad166fd5 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 15:54:02 +0530
Subject: [PATCH 005/103] Add files via upload
---
.nuget/Siemens.Simulation.SourceGrid.nuspec | 22 +++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 .nuget/Siemens.Simulation.SourceGrid.nuspec
diff --git a/.nuget/Siemens.Simulation.SourceGrid.nuspec b/.nuget/Siemens.Simulation.SourceGrid.nuspec
new file mode 100644
index 0000000..6c2b8a5
--- /dev/null
+++ b/.nuget/Siemens.Simulation.SourceGrid.nuspec
@@ -0,0 +1,22 @@
+
+
+
+ Siemens.Simulation.SourceGrid
+ 4.40.1
+ Siemens.Simulation.SourceGrid
+ AuthorName
+ OwnerName
+ false
+
+ Unauthorized copy, only for SIP5-Simu, do not use! This package is a unofficial fork of the original package for use by SIP5-Simu.
+
+ Empty
+ Empty
+
+
+
+
+
+
+
+
\ No newline at end of file
From af83366a011cb65b03474e55733bdfbbf7fea68a Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 16:59:14 +0530
Subject: [PATCH 006/103] Add files via upload
---
SourceGrid.nuspec | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 SourceGrid.nuspec
diff --git a/SourceGrid.nuspec b/SourceGrid.nuspec
new file mode 100644
index 0000000..3fac4c7
--- /dev/null
+++ b/SourceGrid.nuspec
@@ -0,0 +1,32 @@
+
+
+
+ SourceGrid
+ 4.40.1
+ Siemens.SourceGrid
+ Siemens AG
+ SourceGrid contributors
+ https://github.com/siemens/sourcegrid
+ MIT
+
+ false
+
+ SourceGrid is a free open source grid control. Supports virtual grid, custom cells and editors, advanced formatting options and many others features.
+ SourceGrid is a Windows Forms control written entirely in C#.
+ Goal is to create a simple but flexible grid to use in all of the cases in which it is necessary to visualize or to change a series of data in a table format.
+ There are a lot of controls of this type available, but often are expensive, difficult to be customize or not compatible with .NET.
+ SourceGrid allows users to have customizable datasource which is not in DataSet format.
+
+
+
+
+ Copyright 2023
+ SourceGrid is a free open source grid control which Supports virtual grid, custom cells and editors, advanced formatting options and many others features.
+
+
+
+
+
+
+
+
\ No newline at end of file
From 6e99af65a4423f3b58de8c2f613f52385797ab7f Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:02:20 +0530
Subject: [PATCH 007/103] Update main.yml
---
.github/workflows/main.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6c62527..e6a1238 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -4,7 +4,6 @@ on:
push:
pull_request:
-
jobs:
build:
From 62f37a27dca7f9ccb0d53fe972aa103d5ac4e350 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:04:07 +0530
Subject: [PATCH 008/103] Update and rename SourceGrid.nuspec to CA.nuspec
---
SourceGrid.nuspec => CA.nuspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename SourceGrid.nuspec => CA.nuspec (96%)
diff --git a/SourceGrid.nuspec b/CA.nuspec
similarity index 96%
rename from SourceGrid.nuspec
rename to CA.nuspec
index 3fac4c7..5e0b15c 100644
--- a/SourceGrid.nuspec
+++ b/CA.nuspec
@@ -29,4 +29,4 @@
-
\ No newline at end of file
+
From 69ef042911ebea276b4c76cabf3435fcace77c76 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:08:35 +0530
Subject: [PATCH 009/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e6a1238..3d5ae25 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: self-hosted
+ runs-on: windows-latest
defaults:
run:
From 1294bedce4704da3e450dbc84ffa4dc8ea67a491 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:14:30 +0530
Subject: [PATCH 010/103] Update and rename CA.nuspec to SourceGrid.nuspec
---
CA.nuspec => SourceGrid.nuspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename CA.nuspec => SourceGrid.nuspec (94%)
diff --git a/CA.nuspec b/SourceGrid.nuspec
similarity index 94%
rename from CA.nuspec
rename to SourceGrid.nuspec
index 5e0b15c..387a362 100644
--- a/CA.nuspec
+++ b/SourceGrid.nuspec
@@ -28,5 +28,5 @@
-
+
From 8d63788de47e2d8d55f871a478fbb48dafbb947d Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:15:01 +0530
Subject: [PATCH 011/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3d5ae25..98714ad 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -65,7 +65,7 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack CA.nuspec -Version 1.0.0
+ nuget pack SourceGrid.nuspec -Version 1.0.0
Write-Host "::set-output name=nupkg-TEST::TEST.1.0.0.nupkg"
- name: Archive NuGet Packages
From 2aa90b9825e4220d07a068607a4c0cdc6260a1c5 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:18:57 +0530
Subject: [PATCH 012/103] Update SourceGrid.nuspec
---
SourceGrid.nuspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SourceGrid.nuspec b/SourceGrid.nuspec
index 387a362..9c700af 100644
--- a/SourceGrid.nuspec
+++ b/SourceGrid.nuspec
@@ -28,5 +28,5 @@
-
+
From bf0edba26b42958313a78a9e66d0b78c6dfcc601 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:23:03 +0530
Subject: [PATCH 013/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 98714ad..c67e166 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: self-hosted
defaults:
run:
From 66455e2ec4fc5a3995028dccebf5c7490a2fca6e Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:27:26 +0530
Subject: [PATCH 014/103] Update SourceGrid.nuspec
---
SourceGrid.nuspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SourceGrid.nuspec b/SourceGrid.nuspec
index 9c700af..87e025d 100644
--- a/SourceGrid.nuspec
+++ b/SourceGrid.nuspec
@@ -28,5 +28,5 @@
-
+
From a953b4738fdd1295a57a16026b4af50d70cd4f68 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:31:18 +0530
Subject: [PATCH 015/103] Update SourceGrid.nuspec
---
SourceGrid.nuspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SourceGrid.nuspec b/SourceGrid.nuspec
index 87e025d..f6b754f 100644
--- a/SourceGrid.nuspec
+++ b/SourceGrid.nuspec
@@ -28,5 +28,5 @@
-
+
From 08a5a8d7b7186ef4b3d2a61312edc6e63f291c64 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:33:20 +0530
Subject: [PATCH 016/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c67e166..98714ad 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: self-hosted
+ runs-on: windows-latest
defaults:
run:
From 07600e14ff63697719219e8ccf8ba94575782a08 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:36:42 +0530
Subject: [PATCH 017/103] Update main.yml
---
.github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 98714ad..e8cb9a6 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -74,4 +74,38 @@ jobs:
name: nuget-TEST
path: |
*.nupkg
+
+ release:
+ if: github.ref == 'refs/heads/Github_runner'
+ runs-on: windows-latest
+ needs: build
+
+ steps:
+ - name: Download Build Output
+ uses: actions/download-artifact@v2
+ with:
+ name: sourcegrid
+
+ - name: Download NuGet Package
+ uses: actions/download-artifact@v2
+ with:
+ name: nuget-sourcegrid
+
+ - name: Download NuGet Packages from Release
+ run: |
+ Write-Host "GITHUB_REF: '$($env:GITHUB_REF)'"
+ $prefix = "refs/tags/"
+ $name = $($env:GITHUB_REF).Substring($prefix.Length)
+ Write-Host "name: '$name'"
+ gh release download $name --repo siemens/continuous-clearing --pattern '*.nupkg' --clobber
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Publish to github packages
+ run: |
+ dotnet nuget add source --username ${{ secrets.USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://www.nuget.org"
+ dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source github
+ env:
+ USERNAME: ${{ secrets.USERNAME }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
From 7741928c0aaa5e9515a0f6e03cb5db1de6a27071 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:39:23 +0530
Subject: [PATCH 018/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e8cb9a6..5641177 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -89,7 +89,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: nuget-sourcegrid
+ name: nuget-TEST
- name: Download NuGet Packages from Release
run: |
From c4a6e4cb100bdc42483426ab24d96bff985b4707 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Mon, 16 Oct 2023 17:48:05 +0530
Subject: [PATCH 019/103] Update main.yml
---
.github/workflows/main.yml | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5641177..c12a8fd 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -91,16 +91,6 @@ jobs:
with:
name: nuget-TEST
- - name: Download NuGet Packages from Release
- run: |
- Write-Host "GITHUB_REF: '$($env:GITHUB_REF)'"
- $prefix = "refs/tags/"
- $name = $($env:GITHUB_REF).Substring($prefix.Length)
- Write-Host "name: '$name'"
- gh release download $name --repo siemens/continuous-clearing --pattern '*.nupkg' --clobber
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- name: Publish to github packages
run: |
dotnet nuget add source --username ${{ secrets.USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://www.nuget.org"
From c2137a5050fa3f264658914de405faf655086ba6 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 11:01:21 +0530
Subject: [PATCH 020/103] Update main.yml
---
.github/workflows/main.yml | 45 ++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c12a8fd..f15b035 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -91,11 +91,42 @@ jobs:
with:
name: nuget-TEST
- - name: Publish to github packages
- run: |
- dotnet nuget add source --username ${{ secrets.USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://www.nuget.org"
- dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source github
+ - name: Debug
+ run: |
+ tree
+
+ - name: Create Release
+ id: create_release
+ uses: actions/create-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: v1.0.0
+ #tag_name: ${{ needs.build.outputs.semver }}
+ release_name: Release v1.0.0
+ body: |
+ ${{ github.event.head_commit.message }}
+ draft: true
+ prerelease: false
+
+ - name: Upload Zip
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: ./${{ needs.build.outputs.sourcegrid }}
+ asset_name: ${{ needs.build.outputs.sourcegrid }}
+ asset_content_type: application/zip
+
+ - name: Upload Nupkg
+ uses: actions/upload-release-asset@v1
env:
- USERNAME: ${{ secrets.USERNAME }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: ./${{ needs.build.outputs.nupkg-sourcegrid }}
+ asset_name: ${{ needs.build.outputs.nupkg-sourcegrid }}
+ asset_content_type: application/zip
+
+
From 71ae11e889a3b93f9ed81b7faeec83d17c454fc1 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 11:10:10 +0530
Subject: [PATCH 021/103] Update main.yml
---
.github/workflows/main.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f15b035..4c8a1af 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -116,7 +116,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ needs.build.outputs.sourcegrid }}
- asset_name: ${{ needs.build.outputs.sourcegrid }}
+ asset_name: ${{ needs.build.outputs.nuget-TEST }}
asset_content_type: application/zip
- name: Upload Nupkg
@@ -126,7 +126,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ needs.build.outputs.nupkg-sourcegrid }}
- asset_name: ${{ needs.build.outputs.nupkg-sourcegrid }}
+ asset_name: ${{ needs.build.outputs.nupkg-nuget-TEST }}
asset_content_type: application/zip
From 37e036ceb54a8fd343128d52c9b63ac7eb140cbf Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 11:28:19 +0530
Subject: [PATCH 022/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4c8a1af..b5e140a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -116,7 +116,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ needs.build.outputs.sourcegrid }}
- asset_name: ${{ needs.build.outputs.nuget-TEST }}
+ asset_name: ${{ needs.build.outputs.sourcegrid }}
asset_content_type: application/zip
- name: Upload Nupkg
From 6aaf8216396d52d13e7c3d36e95feae6ea38f7b5 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 11:39:08 +0530
Subject: [PATCH 023/103] Update main.yml
---
.github/workflows/main.yml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b5e140a..b5f9d3d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,6 +12,11 @@ jobs:
defaults:
run:
working-directory: .
+ outputs:
+ semver: ${{ steps.gitversion.outputs.semver }}
+ sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
+ nupkg-sourcegrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
+
steps:
- name: Checkout
@@ -66,12 +71,12 @@ jobs:
id: createNupkg
run: |
nuget pack SourceGrid.nuspec -Version 1.0.0
- Write-Host "::set-output name=nupkg-TEST::TEST.1.0.0.nupkg"
+ Write-Host "::set-output name=nupkg-sourcegrid::TEST.1.0.0.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
with:
- name: nuget-TEST
+ name: sourcegrid-TEST
path: |
*.nupkg
@@ -118,6 +123,7 @@ jobs:
asset_path: ./${{ needs.build.outputs.sourcegrid }}
asset_name: ${{ needs.build.outputs.sourcegrid }}
asset_content_type: application/zip
+ continue-on-error: true
- name: Upload Nupkg
uses: actions/upload-release-asset@v1
@@ -126,7 +132,8 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ needs.build.outputs.nupkg-sourcegrid }}
- asset_name: ${{ needs.build.outputs.nupkg-nuget-TEST }}
+ asset_name: ${{ needs.build.outputs.nupkg-sourcegrid-TEST }}
asset_content_type: application/zip
+ continue-on-error: true
From 4048ac0ebe89a3bec9c1c4d0bd88f0ac1357cc07 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 11:43:28 +0530
Subject: [PATCH 024/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b5f9d3d..d402ce1 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -94,7 +94,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: nuget-TEST
+ name: sourcegrid-TEST
- name: Debug
run: |
From 7a5da545a0031d6f73106cd84662c1122d10f27b Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 11:47:57 +0530
Subject: [PATCH 025/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d402ce1..a93cce8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -132,7 +132,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ needs.build.outputs.nupkg-sourcegrid }}
- asset_name: ${{ needs.build.outputs.nupkg-sourcegrid-TEST }}
+ asset_name: ${{ needs.build.outputs.nupkg-sourcegrid }}
asset_content_type: application/zip
continue-on-error: true
From 213157bb4cac54fb4a8828ca48a972a1cf2216c3 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 12:21:19 +0530
Subject: [PATCH 026/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a93cce8..0ed741c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -76,7 +76,7 @@ jobs:
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
with:
- name: sourcegrid-TEST
+ name: nuget-TEST
path: |
*.nupkg
From 14d3b73a2fe3502f109f7e360f199b46eff866ea Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 12:25:36 +0530
Subject: [PATCH 027/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0ed741c..0dad66f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -94,7 +94,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: sourcegrid-TEST
+ name: nuget-TEST
- name: Debug
run: |
From a984d73978887fa3f76bce73a04d2ad1b43980e8 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:25:02 +0530
Subject: [PATCH 028/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0dad66f..912a216 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -123,7 +123,7 @@ jobs:
asset_path: ./${{ needs.build.outputs.sourcegrid }}
asset_name: ${{ needs.build.outputs.sourcegrid }}
asset_content_type: application/zip
- continue-on-error: true
+
- name: Upload Nupkg
uses: actions/upload-release-asset@v1
@@ -131,9 +131,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: ./${{ needs.build.outputs.nupkg-sourcegrid }}
+ asset_path: ${{ needs.build.outputs.nupkg-sourcegrid }}
asset_name: ${{ needs.build.outputs.nupkg-sourcegrid }}
asset_content_type: application/zip
- continue-on-error: true
+
From 5f0a276e605633ff7249b3dab51b141b101e0501 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:32:23 +0530
Subject: [PATCH 029/103] Update main.yml
---
.github/workflows/main.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 912a216..7cc21d4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
outputs:
semver: ${{ steps.gitversion.outputs.semver }}
sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
- nupkg-sourcegrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
+ nupkg-SourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
steps:
@@ -76,7 +76,7 @@ jobs:
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
with:
- name: nuget-TEST
+ name: SourceGrid
path: |
*.nupkg
@@ -131,8 +131,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: ${{ needs.build.outputs.nupkg-sourcegrid }}
- asset_name: ${{ needs.build.outputs.nupkg-sourcegrid }}
+ asset_path: ./${{ needs.build.outputs.nupkg-SourceGrid }}
+ asset_name: ${{ needs.build.outputs.nupkg-SourceGrid }}
asset_content_type: application/zip
From aa485b1fb570e06ccebbe81fe347f42f951814ce Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:35:50 +0530
Subject: [PATCH 030/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7cc21d4..76347b0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -94,7 +94,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: nuget-TEST
+ name: SourceGrid
- name: Debug
run: |
From 9d657e491f7dddddf68f0f8a4a98b9e49186cb97 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:43:01 +0530
Subject: [PATCH 031/103] Update main.yml
---
.github/workflows/main.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 76347b0..03a3835 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -76,7 +76,7 @@ jobs:
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
with:
- name: SourceGrid
+ name: nuget-SourceGrid
path: |
*.nupkg
@@ -89,7 +89,7 @@ jobs:
- name: Download Build Output
uses: actions/download-artifact@v2
with:
- name: sourcegrid
+ name: nuget-sourcegrid
- name: Download NuGet Package
uses: actions/download-artifact@v2
From b1252cc2d54836c768f20c97b12009953c707f97 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:48:10 +0530
Subject: [PATCH 032/103] Update main.yml
---
.github/workflows/main.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 03a3835..078e8e7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -89,12 +89,12 @@ jobs:
- name: Download Build Output
uses: actions/download-artifact@v2
with:
- name: nuget-sourcegrid
+ name: sourcegrid
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: SourceGrid
+ name: nuget-SourceGrid
- name: Debug
run: |
From ed19cf6641dcbe822ceb0afe237d8711975e75ad Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:54:53 +0530
Subject: [PATCH 033/103] Update main.yml
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 078e8e7..9a2db11 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
outputs:
semver: ${{ steps.gitversion.outputs.semver }}
sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
- nupkg-SourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
+ nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
steps:
@@ -76,7 +76,7 @@ jobs:
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
with:
- name: nuget-SourceGrid
+ name: sourceGrid
path: |
*.nupkg
@@ -94,7 +94,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: nuget-SourceGrid
+ name: sourceGrid
- name: Debug
run: |
@@ -131,8 +131,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: ./${{ needs.build.outputs.nupkg-SourceGrid }}
- asset_name: ${{ needs.build.outputs.nupkg-SourceGrid }}
+ asset_path: ./${{ needs.build.outputs.nupkg-sourceGrid }}
+ asset_name: ${{ needs.build.outputs.nupkg-sourceGrid }}
asset_content_type: application/zip
From 28bc23efccae4734fa1d8a9fcc2997dd0573c099 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:57:02 +0530
Subject: [PATCH 034/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9a2db11..ca9fb70 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
outputs:
semver: ${{ steps.gitversion.outputs.semver }}
sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
- nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
+ nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-Sourcegrid }}
steps:
@@ -131,8 +131,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: ./${{ needs.build.outputs.nupkg-sourceGrid }}
- asset_name: ${{ needs.build.outputs.nupkg-sourceGrid }}
+ asset_path: ./${{ needs.build.outputs.nupkg-SourceGrid }}
+ asset_name: ${{ needs.build.outputs.nupkg-SourceGrid }}
asset_content_type: application/zip
From 80e78009b373f28dad90ba4d925f5ef35d197792 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:58:49 +0530
Subject: [PATCH 035/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ca9fb70..99e849b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -94,7 +94,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: sourceGrid
+ name: SourceGrid
- name: Debug
run: |
From f50bb5d8a2d06e187bdd3880bf76475c8c82727d Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 15:05:57 +0530
Subject: [PATCH 036/103] Update main.yml
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 99e849b..bada97b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
outputs:
semver: ${{ steps.gitversion.outputs.semver }}
sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
- nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-Sourcegrid }}
+ nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
steps:
@@ -76,7 +76,7 @@ jobs:
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
with:
- name: sourceGrid
+ name: nuget-sourceGrid
path: |
*.nupkg
@@ -94,7 +94,7 @@ jobs:
- name: Download NuGet Package
uses: actions/download-artifact@v2
with:
- name: SourceGrid
+ name: nuget-sourceGrid
- name: Debug
run: |
@@ -131,8 +131,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: ./${{ needs.build.outputs.nupkg-SourceGrid }}
- asset_name: ${{ needs.build.outputs.nupkg-SourceGrid }}
+ asset_path: ./${{ needs.build.outputs.nupkg-sourceGrid }}
+ asset_name: ${{ needs.build.outputs.nupkg-sourceGrid }}
asset_content_type: application/zip
From 667e8f19f72f2d54d976db76f204bae182624bd6 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 15:09:46 +0530
Subject: [PATCH 037/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index bada97b..ced835f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -71,7 +71,7 @@ jobs:
id: createNupkg
run: |
nuget pack SourceGrid.nuspec -Version 1.0.0
- Write-Host "::set-output name=nupkg-sourcegrid::TEST.1.0.0.nupkg"
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.1.0.0.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
From 03799f9c86f0fc3fbe076fb329122554b676147f Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 15:29:55 +0530
Subject: [PATCH 038/103] Create release.yml
---
.github/workflows/release.yml | 41 +++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 .github/workflows/release.yml
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..d722218
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,41 @@
+name: Publish NuGet Packages
+
+on:
+ release:
+ types: [published]
+
+permissions:
+ packages: write
+ contents: read
+
+jobs:
+ build:
+ runs-on: windows-latest
+
+ defaults:
+ run:
+ working-directory: .
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Download NuGet Packages from Release
+ run: |
+ Write-Host "GITHUB_REF: '$($env:GITHUB_REF)'"
+ $prefix = "refs/tags/"
+ $name = $($env:GITHUB_REF).Substring($prefix.Length)
+ Write-Host "name: '$name'"
+ gh release download $name --repo siemens/continuous-clearing --pattern '*.nupkg' --clobber
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Publish to github packages
+ run: |
+ dotnet nuget add source --username ${{ secrets.USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://www.nuget.org"
+ dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source github
+ env:
+ USERNAME: ${{ secrets.USERNAME }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
From e1716ee05d7c666b0859c02694993f151335d998 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 15:31:40 +0530
Subject: [PATCH 039/103] Update main.yml
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ced835f..0d159f4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -51,7 +51,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-1.0.0.zip"
+ $fileName = "sourcegrid-1.0.1.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -70,8 +70,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack SourceGrid.nuspec -Version 1.0.0
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.1.0.0.nupkg"
+ nuget pack SourceGrid.nuspec -Version 1.0.1
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.1.0.1.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -106,9 +106,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v1.0.0
+ tag_name: v1.0.1
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v1.0.0
+ release_name: Release v1.0.1
body: |
${{ github.event.head_commit.message }}
draft: true
From 455dccb771c83746bd231095613db5f0a60ce0fd Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 15:57:00 +0530
Subject: [PATCH 040/103] Update release.yml
---
.github/workflows/release.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d722218..72fe5b5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,7 +28,7 @@ jobs:
$prefix = "refs/tags/"
$name = $($env:GITHUB_REF).Substring($prefix.Length)
Write-Host "name: '$name'"
- gh release download $name --repo siemens/continuous-clearing --pattern '*.nupkg' --clobber
+ gh release download $name --repo siemens/sourcegrid --pattern '*.nupkg' --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
From ed1405ea7d286aa10ff57a4d7b646dbd716ffe87 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 16:58:06 +0530
Subject: [PATCH 041/103] Update release.yml
---
.github/workflows/release.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 72fe5b5..22cc756 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -34,8 +34,7 @@ jobs:
- name: Publish to github packages
run: |
- dotnet nuget add source --username ${{ secrets.USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://www.nuget.org"
- dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source github
+ dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://api.nuget.org/v3/index.json"
env:
USERNAME: ${{ secrets.USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
From 32e51d9c79b39c5ae25537c7975028f0da748efa Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 16:59:36 +0530
Subject: [PATCH 042/103] Update release.yml
---
.github/workflows/release.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 22cc756..c8aeedf 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -36,5 +36,4 @@ jobs:
run: |
dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://api.nuget.org/v3/index.json"
env:
- USERNAME: ${{ secrets.USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
From ee054d51dd3356c15858bd41389ed9ce9fac7a7c Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 17 Oct 2023 17:06:15 +0530
Subject: [PATCH 043/103] Update release.yml
---
.github/workflows/release.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c8aeedf..97dbf4e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -37,3 +37,4 @@ jobs:
dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://api.nuget.org/v3/index.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
From 9d7a521775a8cbef23128b988a23b9486b736c3c Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 14:49:58 +0530
Subject: [PATCH 044/103] Update main.yml
---
.github/workflows/main.yml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0d159f4..6a8b8d2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,6 +24,29 @@ jobs:
with:
fetch-depth: 0
+ - name: Setup Version
+ uses: gittools/actions/gitversion/setup@v0.10.2
+ with:
+ versionSpec: '5.3.6'
+ env:
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: TRUE
+
+ - name: Determine Version
+ uses: gittools/actions/gitversion/execute@v0.10.2
+ with:
+ useConfigFile: true
+ env:
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: TRUE
+
+ - name: get SemVer
+ id: gitversion
+ run: |
+ echo "SemVer: v$($env:GitVersion_SemVer)"
+ Write-Host "::set-output name=semver::v$($env:GitVersion_SemVer)"
+ $fileName = "dummy-v$($env:GitVersion_SemVer)"
+ echo "SemVerMMP: v$($env:GitVersion_MajorMinorPatch)"
+ Write-Host "Filename: '$fileName'"
+
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
with:
From 9d198f53b478219441798dbdd4e53f4408ff80bf Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 14:52:43 +0530
Subject: [PATCH 045/103] Add files via upload
added gitverion.yml
---
GitVersion.yml | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 GitVersion.yml
diff --git a/GitVersion.yml b/GitVersion.yml
new file mode 100644
index 0000000..ea95ff6
--- /dev/null
+++ b/GitVersion.yml
@@ -0,0 +1,5 @@
+mode: Mainline
+next-version: 3.1.0
+branches:
+ master:
+ regex: ^master$|^main$
From 8a94ca8a5d3d7259ad3d3eb58d8bace0f74fb1b7 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 14:55:53 +0530
Subject: [PATCH 046/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6a8b8d2..4b57516 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: self-hosted
defaults:
run:
From 55c0912b0ec60374d6561cd7508cafa003a90d93 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:22:19 +0530
Subject: [PATCH 047/103] Delete .nuget/Siemens.Simulation.SourceGrid.nuspec
---
.nuget/Siemens.Simulation.SourceGrid.nuspec | 22 ---------------------
1 file changed, 22 deletions(-)
delete mode 100644 .nuget/Siemens.Simulation.SourceGrid.nuspec
diff --git a/.nuget/Siemens.Simulation.SourceGrid.nuspec b/.nuget/Siemens.Simulation.SourceGrid.nuspec
deleted file mode 100644
index 6c2b8a5..0000000
--- a/.nuget/Siemens.Simulation.SourceGrid.nuspec
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- Siemens.Simulation.SourceGrid
- 4.40.1
- Siemens.Simulation.SourceGrid
- AuthorName
- OwnerName
- false
-
- Unauthorized copy, only for SIP5-Simu, do not use! This package is a unofficial fork of the original package for use by SIP5-Simu.
-
- Empty
- Empty
-
-
-
-
-
-
-
-
\ No newline at end of file
From 868eb20ecb0506478e055b7b5824279b2f6dc3be Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:22:45 +0530
Subject: [PATCH 048/103] Delete SourceGrid.nuspec
---
SourceGrid.nuspec | 32 --------------------------------
1 file changed, 32 deletions(-)
delete mode 100644 SourceGrid.nuspec
diff --git a/SourceGrid.nuspec b/SourceGrid.nuspec
deleted file mode 100644
index f6b754f..0000000
--- a/SourceGrid.nuspec
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
- SourceGrid
- 4.40.1
- Siemens.SourceGrid
- Siemens AG
- SourceGrid contributors
- https://github.com/siemens/sourcegrid
- MIT
-
- false
-
- SourceGrid is a free open source grid control. Supports virtual grid, custom cells and editors, advanced formatting options and many others features.
- SourceGrid is a Windows Forms control written entirely in C#.
- Goal is to create a simple but flexible grid to use in all of the cases in which it is necessary to visualize or to change a series of data in a table format.
- There are a lot of controls of this type available, but often are expensive, difficult to be customize or not compatible with .NET.
- SourceGrid allows users to have customizable datasource which is not in DataSet format.
-
-
-
-
- Copyright 2023
- SourceGrid is a free open source grid control which Supports virtual grid, custom cells and editors, advanced formatting options and many others features.
-
-
-
-
-
-
-
-
From c0ba6a9c39ab97b93ea298711c2e45416f50b19e Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:25:39 +0530
Subject: [PATCH 049/103] Update main.yml
---
.github/workflows/main.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4b57516..2562a04 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -54,10 +54,10 @@ jobs:
- name: Restore Packages
- run: Nuget restore SourceGrid_2013.sln
+ run: Nuget restore SourceGrid.sln
- name: Build
- run: msbuild -m -t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" /fl SourceGrid_2013.sln
+ run: msbuild -m -t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" /fl SourceGrid.sln
- name: Archive Build Log
From dbd4bac804993c59c1a73601abd0690abbb75d63 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:37:26 +0530
Subject: [PATCH 050/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2562a04..4a68149 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: self-hosted
+ runs-on: windows-latest
defaults:
run:
From 54a410dfb80a3f169dcc0b9cafdf072533f2e20d Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:38:56 +0530
Subject: [PATCH 051/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4a68149..7cb843a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: windows-2019
defaults:
run:
From 8c15f1c6653f11453b8ea3128ba1f9c6c60ebf5a Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:43:36 +0530
Subject: [PATCH 052/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7cb843a..5ff20ff 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-2019
+ runs-on: windows-2022
defaults:
run:
From 82a7435e57922064d1678c1b9fb5b489c69c7318 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:47:42 +0530
Subject: [PATCH 053/103] Update main.yml
---
.github/workflows/main.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5ff20ff..9aaf896 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-2022
+ runs-on: windows-2019
defaults:
run:
@@ -24,6 +24,12 @@ jobs:
with:
fetch-depth: 0
+ - uses: actions/setup-dotnet@v3
+ id: stepid
+ with:
+ dotnet-version: 3.1.0
+ - run: echo '${{ steps.stepid.outputs.dotnet-version }}' # outputs 3.1.0
+
- name: Setup Version
uses: gittools/actions/gitversion/setup@v0.10.2
with:
From 9afd6e6cf52f495416d744bf38121ef51df87e45 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:54:46 +0530
Subject: [PATCH 054/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9aaf896..2951f6e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-2019
+ runs-on: self-hosted
defaults:
run:
From d8dbf77d231e5f266073a46b253c8cc8669a125c Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 15:58:30 +0530
Subject: [PATCH 055/103] Update main.yml
---
.github/workflows/main.yml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2951f6e..2562a04 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,12 +24,6 @@ jobs:
with:
fetch-depth: 0
- - uses: actions/setup-dotnet@v3
- id: stepid
- with:
- dotnet-version: 3.1.0
- - run: echo '${{ steps.stepid.outputs.dotnet-version }}' # outputs 3.1.0
-
- name: Setup Version
uses: gittools/actions/gitversion/setup@v0.10.2
with:
From 79f2819880cf22c72058dfe43abf493e09e69f60 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:09:59 +0530
Subject: [PATCH 056/103] Update main.yml
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2562a04..12c1a33 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -74,7 +74,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-1.0.1.zip"
+ $fileName = "sourcegrid-5.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -93,8 +93,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack SourceGrid.nuspec -Version 1.0.1
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.1.0.1.nupkg"
+ nuget pack SourceGrid.nuspec -Version 5.0.0
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.0.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -129,9 +129,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v1.0.1
+ tag_name: v5.0.0
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v1.0.1
+ release_name: Release v5.0.0
body: |
${{ github.event.head_commit.message }}
draft: true
From 37f4b934e9d15640280f6b284fec4b52f20f39a2 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:14:00 +0530
Subject: [PATCH 057/103] Update GitVersion.yml
---
GitVersion.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GitVersion.yml b/GitVersion.yml
index ea95ff6..1e3f9d4 100644
--- a/GitVersion.yml
+++ b/GitVersion.yml
@@ -1,5 +1,5 @@
mode: Mainline
-next-version: 3.1.0
+next-version: 5.1.0
branches:
master:
regex: ^master$|^main$
From 7929a40fbeb519524eb0a7bce7fcda6e5211be71 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:16:51 +0530
Subject: [PATCH 058/103] Update main.yml
---
.github/workflows/main.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 12c1a33..b75c138 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,6 +81,7 @@ jobs:
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+ Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
- name: Archive Build Output
uses: actions/upload-artifact@v2
From 296653823878ca4950367db0be8fe192ca3d9bb6 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:19:23 +0530
Subject: [PATCH 059/103] Update main.yml
---
.github/workflows/main.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b75c138..42e4e05 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -78,10 +78,11 @@ jobs:
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
+ Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
- Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
+
- name: Archive Build Output
uses: actions/upload-artifact@v2
From 7337439675308574ca16179be34b1a88feee64b1 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:22:31 +0530
Subject: [PATCH 060/103] Update main.yml
---
.github/workflows/main.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 42e4e05..eb1e4ab 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -78,10 +78,9 @@ jobs:
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
- Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
- Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+ Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
- name: Archive Build Output
From 065885212f4b76fc95d70afaeeb7a91208f22edd Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:25:05 +0530
Subject: [PATCH 061/103] Update main.yml
---
.github/workflows/main.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index eb1e4ab..6ba897e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -72,14 +72,15 @@ jobs:
id: packageBuildResults
run: |
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
- $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "SourceGrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-5.0.0.zip"
+ $fileName = "SourceGrid-5.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
- Write-Host "::set-output name=sourcegrid::$($fileName)"
+ Write-Host "::set-output name=SourceGrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
+ Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
From d77dc6ae90bb64b444e02a775b9e9df5c77c9ea9 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:31:48 +0530
Subject: [PATCH 062/103] Update main.yml
---
.github/workflows/main.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6ba897e..ec20f9b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: self-hosted
+ runs-on: windows-latest
defaults:
run:
@@ -24,6 +24,10 @@ jobs:
with:
fetch-depth: 0
+ - uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '4.8.0'
+
- name: Setup Version
uses: gittools/actions/gitversion/setup@v0.10.2
with:
From 279345af22f33fb081ade1412d332c10b8f90720 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:34:37 +0530
Subject: [PATCH 063/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ec20f9b..4f43244 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-dotnet@v3
with:
- dotnet-version: '4.8.0'
+ dotnet-version: '3.1.x'
- name: Setup Version
uses: gittools/actions/gitversion/setup@v0.10.2
From ea557669df727bb7e31e6e77da9596f704745696 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:38:46 +0530
Subject: [PATCH 064/103] Update GitVersion.yml
---
GitVersion.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GitVersion.yml b/GitVersion.yml
index 1e3f9d4..ea95ff6 100644
--- a/GitVersion.yml
+++ b/GitVersion.yml
@@ -1,5 +1,5 @@
mode: Mainline
-next-version: 5.1.0
+next-version: 3.1.0
branches:
master:
regex: ^master$|^main$
From 620af8abf8c58f8415e89daac07b2eb8384da47c Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:40:27 +0530
Subject: [PATCH 065/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4f43244..a1fa152 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -76,13 +76,13 @@ jobs:
id: packageBuildResults
run: |
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
- $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "SourceGrid"
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourceGrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "SourceGrid-5.0.0.zip"
+ $fileName = "sourceGrid-5.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
- Write-Host "::set-output name=SourceGrid::$($fileName)"
+ Write-Host "::set-output name=sourceGrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
From 9894120ec9f6c80867e1659668cf373d15029b52 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:50:08 +0530
Subject: [PATCH 066/103] Update main.yml
---
.github/workflows/main.yml | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a1fa152..5d53548 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -14,8 +14,8 @@ jobs:
working-directory: .
outputs:
semver: ${{ steps.gitversion.outputs.semver }}
- sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
- nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
+ sourcegrid: ${{ steps.packageBuildResults.outputs.Sourcegrid }}
+ nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-Sourcegrid }}
steps:
@@ -71,21 +71,20 @@ jobs:
name: Compile_Solution_log
path: |
*.log
-
- - name: Create zip
+
+ - name: Create zip files
id: packageBuildResults
run: |
- $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
- $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourceGrid"
- New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourceGrid-5.0.0.zip"
- Write-Host "Filename: '$fileName'"
- Write-Host "sourceFolder: '$sourceFolder'"
- Write-Host "Outfolder: '$outFolder'"
- Write-Host "::set-output name=sourceGrid::$($fileName)"
- $outPath = Join-Path $outFolder $fileName
- Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
- Get-ChildItem -Recurse -Path $sourcePath | Compress-Archive -DestinationPath $destinationPath
+ $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourceGrid"
+ New-Item -ItemType Directory -Force -Path $outFolder
+ $fileName = "SourceGrid-5.0.0.zip"
+ Write-Host "Filename: '$fileName'"
+ Write-Host "sourceFolder: '$sourceFolder'"
+ Write-Host "Outfolder: '$outFolder'"
+ Write-Host "::set-output name=SourceGrid::$($fileName)"
+ $outPath = Join-Path $outFolder $fileName
+ Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
- name: Archive Build Output
From 7d82ccef282271cedb1d27e6263efdee3488933e Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 16:54:56 +0530
Subject: [PATCH 067/103] Update main.yml
---
.github/workflows/main.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5d53548..162c205 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -72,6 +72,10 @@ jobs:
path: |
*.log
+ - name: Sleep for 300 seconds
+ run: Start-Sleep -s 300
+ shell: powershell
+
- name: Create zip files
id: packageBuildResults
run: |
From 5ea7b5ca47eb3a6627bfbdae33385227eee0a9db Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:04:34 +0530
Subject: [PATCH 068/103] Update main.yml
---
.github/workflows/main.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 162c205..158c1d0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -71,10 +71,15 @@ jobs:
name: Compile_Solution_log
path: |
*.log
+ - name: Taskkill
+ run: |
+ taskkill /im dotnet.exe /F
+ taskkill /im msbuild.exe /F
- name: Sleep for 300 seconds
run: Start-Sleep -s 300
shell: powershell
+
- name: Create zip files
id: packageBuildResults
From ce34a1c2b59e96c7ebefbf7e9594a56f06256b5f Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:14:50 +0530
Subject: [PATCH 069/103] Update main.yml
---
.github/workflows/main.yml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 158c1d0..7005eb9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -76,24 +76,24 @@ jobs:
taskkill /im dotnet.exe /F
taskkill /im msbuild.exe /F
- - name: Sleep for 300 seconds
- run: Start-Sleep -s 300
- shell: powershell
-
-
- name: Create zip files
id: packageBuildResults
run: |
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourceGrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "SourceGrid-5.0.0.zip"
+ $fileName = "sourceGrid-5.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
- Write-Host "::set-output name=SourceGrid::$($fileName)"
+ Write-Host "::set-output name=sourceGrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+
+ - name: Sleep for 300 seconds
+ run: Start-Sleep -s 300
+ shell: powershell
+
- name: Archive Build Output
From 8beb6785b30c262baa9a4e172c8b3d9f7a92853d Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:18:51 +0530
Subject: [PATCH 070/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7005eb9..75d0465 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: windows-2019
defaults:
run:
From 52076b8f209d1a7ddfb2bae4b62e7a4bec866379 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:25:04 +0530
Subject: [PATCH 071/103] Update main.yml
---
.github/workflows/main.yml | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 75d0465..7fab9af 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -14,8 +14,8 @@ jobs:
working-directory: .
outputs:
semver: ${{ steps.gitversion.outputs.semver }}
- sourcegrid: ${{ steps.packageBuildResults.outputs.Sourcegrid }}
- nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-Sourcegrid }}
+ sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
+ nupkg-sourceGrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
steps:
@@ -76,19 +76,19 @@ jobs:
taskkill /im dotnet.exe /F
taskkill /im msbuild.exe /F
- - name: Create zip files
+ - name: Create zip
id: packageBuildResults
run: |
- $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
- $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourceGrid"
- New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourceGrid-5.0.0.zip"
- Write-Host "Filename: '$fileName'"
- Write-Host "sourceFolder: '$sourceFolder'"
- Write-Host "Outfolder: '$outFolder'"
- Write-Host "::set-output name=sourceGrid::$($fileName)"
- $outPath = Join-Path $outFolder $fileName
- Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+ $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
+ New-Item -ItemType Directory -Force -Path $outFolder
+ $fileName = "sourcegrid-5.0.1.zip"
+ Write-Host "Filename: '$fileName'"
+ Write-Host "sourceFolder: '$sourceFolder'"
+ Write-Host "Outfolder: '$outFolder'"
+ Write-Host "::set-output name=sourcegrid::$($fileName)"
+ $outPath = Join-Path $outFolder $fileName
+ Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
- name: Sleep for 300 seconds
run: Start-Sleep -s 300
From 4fbddd653d6b39ad3b4575bea5f36c545dc3425e Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:29:39 +0530
Subject: [PATCH 072/103] Update main.yml
---
.github/workflows/main.yml | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7fab9af..13e1c63 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-2019
+ runs-on: windows-latest
defaults:
run:
@@ -71,18 +71,16 @@ jobs:
name: Compile_Solution_log
path: |
*.log
- - name: Taskkill
- run: |
- taskkill /im dotnet.exe /F
- taskkill /im msbuild.exe /F
-
+
+
+
- name: Create zip
id: packageBuildResults
run: |
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-5.0.1.zip"
+ $fileName = "sourcegrid-5.3.6.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
From 63569a66b4f335c4a4cc7c44c5156c2d99b53335 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:38:30 +0530
Subject: [PATCH 073/103] Update main.yml
---
.github/workflows/main.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 13e1c63..62c3491 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -87,6 +87,9 @@ jobs:
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
+ Copy-Item -Path "$sourceFolder" -Force -PassThru |
+ Get-ChildItem |
+ Compress-Archive -DestinationPath "$outFolder\sourcegrid.zip"
- name: Sleep for 300 seconds
run: Start-Sleep -s 300
From 0b4cfec27c69eacb25e61991aa5bd9b8a7746d67 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:42:20 +0530
Subject: [PATCH 074/103] Update main.yml
---
.github/workflows/main.yml | 28 ++--------------------------
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 62c3491..a70a04c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -28,28 +28,6 @@ jobs:
with:
dotnet-version: '3.1.x'
- - name: Setup Version
- uses: gittools/actions/gitversion/setup@v0.10.2
- with:
- versionSpec: '5.3.6'
- env:
- ACTIONS_ALLOW_UNSECURE_COMMANDS: TRUE
-
- - name: Determine Version
- uses: gittools/actions/gitversion/execute@v0.10.2
- with:
- useConfigFile: true
- env:
- ACTIONS_ALLOW_UNSECURE_COMMANDS: TRUE
-
- - name: get SemVer
- id: gitversion
- run: |
- echo "SemVer: v$($env:GitVersion_SemVer)"
- Write-Host "::set-output name=semver::v$($env:GitVersion_SemVer)"
- $fileName = "dummy-v$($env:GitVersion_SemVer)"
- echo "SemVerMMP: v$($env:GitVersion_MajorMinorPatch)"
- Write-Host "Filename: '$fileName'"
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
@@ -80,16 +58,14 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-5.3.6.zip"
+ $fileName = "sourcegrid-5.0.1.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
- Copy-Item -Path "$sourceFolder" -Force -PassThru |
- Get-ChildItem |
- Compress-Archive -DestinationPath "$outFolder\sourcegrid.zip"
+
- name: Sleep for 300 seconds
run: Start-Sleep -s 300
From 42fa86ab63e60a9fc5baf1dbe50ad9403f069961 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:45:48 +0530
Subject: [PATCH 075/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a70a04c..3d98e9f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: self-hosted
defaults:
run:
From 26a36ea63bd96eea93212313ddf208a61e98e9dd Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:46:56 +0530
Subject: [PATCH 076/103] Update main.yml
---
.github/workflows/main.yml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3d98e9f..faa4a61 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,10 +24,6 @@ jobs:
with:
fetch-depth: 0
- - uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '3.1.x'
-
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
From 404a19a4f05cebce9905f229815759b15c1b5871 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:50:40 +0530
Subject: [PATCH 077/103] Update main.yml
---
.github/workflows/main.yml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index faa4a61..1c57a89 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -45,7 +45,18 @@ jobs:
name: Compile_Solution_log
path: |
*.log
-
+
+ - name: Kill files
+ run: |
+ $filedate = Get-Date -Format yyyyMddhhmmss
+ $zipfile = 'C:\Logs\logfiles'+ $filedate +'.zip'
+
+ New-Item -Path "c:\" -Name "Logs" -ItemType "directory" -ErrorAction SilentlyContinue
+
+ Robocopy "" "C:\CRLogs\" *.txt *.csv *.log /s
+ Get-ChildItem -Path "C:\Logs\" -Recurse | Compress-Archive -DestinationPath $zipfile -Force -ErrorAction Continue
+ Remove-Item -Path "C:\Logs\" -Exclude *.zip -Recurse -Force
+
- name: Create zip
From 56b9061ae8ee7c22a02612a21aaf286c54de3251 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 18 Oct 2023 17:53:51 +0530
Subject: [PATCH 078/103] Update main.yml
---
.github/workflows/main.yml | 31 ++++++++++++-------------------
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1c57a89..552cf0c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: self-hosted
+ runs-on: windows-latest
defaults:
run:
@@ -24,6 +24,10 @@ jobs:
with:
fetch-depth: 0
+ - uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '3.1.x'
+
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
@@ -45,25 +49,14 @@ jobs:
name: Compile_Solution_log
path: |
*.log
-
- - name: Kill files
- run: |
- $filedate = Get-Date -Format yyyyMddhhmmss
- $zipfile = 'C:\Logs\logfiles'+ $filedate +'.zip'
-
- New-Item -Path "c:\" -Name "Logs" -ItemType "directory" -ErrorAction SilentlyContinue
-
- Robocopy "" "C:\CRLogs\" *.txt *.csv *.log /s
- Get-ChildItem -Path "C:\Logs\" -Recurse | Compress-Archive -DestinationPath $zipfile -Force -ErrorAction Continue
- Remove-Item -Path "C:\Logs\" -Exclude *.zip -Recurse -Force
-
+
- name: Create zip
id: packageBuildResults
run: |
- $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
- $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
+ $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" |
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" |
New-Item -ItemType Directory -Force -Path $outFolder
$fileName = "sourcegrid-5.0.1.zip"
Write-Host "Filename: '$fileName'"
@@ -91,8 +84,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack SourceGrid.nuspec -Version 5.0.0
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.0.nupkg"
+ nuget pack SourceGrid.nuspec -Version 5.0.1
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.1.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -127,9 +120,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v5.0.0
+ tag_name: v5.0.1
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v5.0.0
+ release_name: Release v5.0.1
body: |
${{ github.event.head_commit.message }}
draft: true
From cc504a07760d763ebbfac8cabb05001598520974 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 10:31:46 +0530
Subject: [PATCH 079/103] Update main.yml
---
.github/workflows/main.yml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 552cf0c..d07b4ba 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,10 +24,6 @@ jobs:
with:
fetch-depth: 0
- - uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '3.1.x'
-
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
From 3fbd3fda6403dfb9aed04d6db544d53c84100801 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 10:36:58 +0530
Subject: [PATCH 080/103] Update main.yml
---
.github/workflows/main.yml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d07b4ba..0d5e231 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -51,8 +51,8 @@ jobs:
- name: Create zip
id: packageBuildResults
run: |
- $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" |
- $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" |
+ $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
+ $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
$fileName = "sourcegrid-5.0.1.zip"
Write-Host "Filename: '$fileName'"
@@ -61,14 +61,8 @@ jobs:
Write-Host "::set-output name=sourcegrid::$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
-
-
- - name: Sleep for 300 seconds
- run: Start-Sleep -s 300
- shell: powershell
-
- name: Archive Build Output
uses: actions/upload-artifact@v2
with:
From e625ad88a3001dcfa3bc4b0e7290244ff243d675 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 11:43:28 +0530
Subject: [PATCH 081/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0d5e231..ec370b5 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: windows-latest
+ runs-on: self-hosted
defaults:
run:
From c70671ba819491ad78eac82b0f092906815b29c8 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 11:58:38 +0530
Subject: [PATCH 082/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ec370b5..1d8330f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -51,7 +51,7 @@ jobs:
- name: Create zip
id: packageBuildResults
run: |
- $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*"
+ $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
$fileName = "sourcegrid-5.0.1.zip"
From 489ef790b7f279564813cbf352211631bf6a0b9f Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 12:00:55 +0530
Subject: [PATCH 083/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1d8330f..be48e2e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -74,7 +74,7 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack SourceGrid.nuspec -Version 5.0.1
+ nuget pack .nuget\SourceGrid.nuspec -Version 5.0.1
Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.1.nupkg"
- name: Archive NuGet Packages
From 957cbb4211ed3c7655f49250cb8f1f26fb43b8f2 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 12:04:45 +0530
Subject: [PATCH 084/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index be48e2e..773dd53 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: self-hosted
+ runs-on: windows-latest
defaults:
run:
From 968a259b6904c0dbbbbb9d972778fd200bf3c5c1 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 12:21:26 +0530
Subject: [PATCH 085/103] Update main.yml
---
.github/workflows/main.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 773dd53..8e616b3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -59,6 +59,7 @@ jobs:
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
Write-Host "::set-output name=sourcegrid::$($fileName)"
+ Remove-Item $sourceFolder\**\*.pdb -Force -Recurse
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
From aeb5edd5eb923a33288ca93b6dc90dbb94a82189 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 12:24:15 +0530
Subject: [PATCH 086/103] Update main.yml
---
.github/workflows/main.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8e616b3..8b28ffe 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,6 +24,33 @@ jobs:
with:
fetch-depth: 0
+ - uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '3.1.x'
+
+ - name: Setup Version
+ uses: gittools/actions/gitversion/setup@v0.10.2
+ with:
+ versionSpec: '5.3.6'
+ env:
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: TRUE
+
+ - name: Determine Version
+ uses: gittools/actions/gitversion/execute@v0.10.2
+ with:
+ useConfigFile: true
+ env:
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: TRUE
+
+ - name: get SemVer
+ id: gitversion
+ run: |
+ echo "SemVer: v$($env:GitVersion_SemVer)"
+ Write-Host "::set-output name=semver::v$($env:GitVersion_SemVer)"
+ $fileName = "dummy-v$($env:GitVersion_SemVer)"
+ echo "SemVerMMP: v$($env:GitVersion_MajorMinorPatch)"
+ Write-Host "Filename: '$fileName'"
+
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
From fcc2f5a4a4c32ad4edd1f2d2ebaa1f4c392f0eb9 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Thu, 19 Oct 2023 14:46:29 +0530
Subject: [PATCH 087/103] Update main.yml
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8b28ffe..9864d51 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-5.0.1.zip"
+ $fileName = "sourcegrid-5.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -102,8 +102,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version 5.0.1
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.1.nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version 5.0.0
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.0.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -138,9 +138,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v5.0.1
+ tag_name: v5.0.0
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v5.0.1
+ release_name: Release v5.0.0
body: |
${{ github.event.head_commit.message }}
draft: true
From deae6cffed660d0f35b819d1c25e336dd4e9e4d1 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Wed, 15 Nov 2023 17:54:24 +0530
Subject: [PATCH 088/103] Update main.yml
change version from 5.0 to 2.0 as per request by Dev team
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9864d51..c214beb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-5.0.0.zip"
+ $fileName = "sourcegrid-2.0.0.zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -102,8 +102,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version 5.0.0
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.5.0.0.nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version 2.0.0
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.2.0.0.nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -138,9 +138,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v5.0.0
+ tag_name: v2.0.0
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v5.0.0
+ release_name: Release v2.0.0
body: |
${{ github.event.head_commit.message }}
draft: true
From 09c1771e8477e3d31dec9e2516b0c68e6093d3df Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 16:39:01 +0530
Subject: [PATCH 089/103] Update GitVersion.yml
---
GitVersion.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GitVersion.yml b/GitVersion.yml
index ea95ff6..0a1f611 100644
--- a/GitVersion.yml
+++ b/GitVersion.yml
@@ -1,5 +1,5 @@
mode: Mainline
-next-version: 3.1.0
+next-version: 2.0.0
branches:
master:
regex: ^master$|^main$
From 70b497fdb59de2d172eeb16a799f9e645d2837b1 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 16:41:36 +0530
Subject: [PATCH 090/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c214beb..894bdb4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-2.0.0.zip"
+ $fileName = "sourcegrid-$(SemVerMMP).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
From 54b7b447b8a781daacf0d5886d912fd814b06164 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 16:48:38 +0530
Subject: [PATCH 091/103] Update GitVersion.yml
---
GitVersion.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/GitVersion.yml b/GitVersion.yml
index 0a1f611..550c66c 100644
--- a/GitVersion.yml
+++ b/GitVersion.yml
@@ -2,4 +2,3 @@ mode: Mainline
next-version: 2.0.0
branches:
master:
- regex: ^master$|^main$
From d3ca36d7f592e0887cb79ac332dad0e343565f8e Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 16:49:46 +0530
Subject: [PATCH 092/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 894bdb4..7443d2d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-$(SemVerMMP).zip"
+ $fileName = "sourcegrid-$(SemVer).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
From 4230408ca703b19ecd70547105acc1776ba63420 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 16:59:45 +0530
Subject: [PATCH 093/103] Update GitVersion.yml
---
GitVersion.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/GitVersion.yml b/GitVersion.yml
index 550c66c..6740ae6 100644
--- a/GitVersion.yml
+++ b/GitVersion.yml
@@ -1,4 +1,5 @@
mode: Mainline
next-version: 2.0.0
branches:
- master:
+ master:
+ regex: ^master$|^main$
From c1c1d18a7d0629109da2d0c51a9f51e532f658e4 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 17:06:10 +0530
Subject: [PATCH 094/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7443d2d..4603a32 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-$(SemVer).zip"
+ $fileName = "sourcegrid- $($env:GitVersion_MajorMinor)".zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -102,8 +102,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version 2.0.0
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.2.0.0.nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.$($env:GitVersion_MajorMinor)".nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
From 6d21eb06bbdb0f247c5c011fd72048b251753ccd Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:05:32 +0530
Subject: [PATCH 095/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4603a32..e7cabcb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid- $($env:GitVersion_MajorMinor)".zip"
+ $fileName = "sourcegrid- $($env:GitVersion_MajorMinor).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
From b5761ef67ef94f0dee75fc170df9f728833a748e Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:12:44 +0530
Subject: [PATCH 096/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e7cabcb..024b81f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -103,7 +103,7 @@ jobs:
id: createNupkg
run: |
nuget pack .nuget\SourceGrid.nuspec -Version
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.$($env:GitVersion_MajorMinor)".nupkg"
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.$($env:GitVersion_MajorMinor).nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -138,9 +138,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v2.0.0
+ tag_name: v$($env:GitVersion_MajorMinor)
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v2.0.0
+ release_name: Release v$($env:GitVersion_MajorMinor)
body: |
${{ github.event.head_commit.message }}
draft: true
From 9abd64a7a859dc9da660029e9b564f492ddfdbf4 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:32:49 +0530
Subject: [PATCH 097/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 024b81f..ef1ac09 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -102,7 +102,7 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version
+ nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinor)
Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.$($env:GitVersion_MajorMinor).nupkg"
- name: Archive NuGet Packages
From 05bf1ae81050a62e4cdb24283a8fe74a12e139b2 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:39:46 +0530
Subject: [PATCH 098/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ef1ac09..e938688 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid- $($env:GitVersion_MajorMinor).zip"
+ $fileName = "sourcegrid-($env:GitVersion_MajorMinor).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -102,8 +102,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinor)
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.$($env:GitVersion_MajorMinor).nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version ($env:GitVersion_MajorMinor)
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.($env:GitVersion_MajorMinor).nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
From 0ae2ca5af261a73cc4197bc69c46be7987c3e957 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:44:37 +0530
Subject: [PATCH 099/103] Update main.yml
---
.github/workflows/main.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e938688..e9fa469 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-($env:GitVersion_MajorMinor).zip"
+ $fileName = "sourcegrid-$($env:GitVersion_MajorMinor).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
From 90e2e8f5b063cc12e0193227437e8db4fcbefffa Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:54:50 +0530
Subject: [PATCH 100/103] Update main.yml
---
.github/workflows/main.yml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e9fa469..f9bbd06 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,12 +81,11 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-$($env:GitVersion_MajorMinor).zip"
+ $fileName = "sourcegrid-v$($env:GitVersion_MajorMinorPatch).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
Write-Host "::set-output name=sourcegrid::$($fileName)"
- Remove-Item $sourceFolder\**\*.pdb -Force -Recurse
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
@@ -102,8 +101,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version ($env:GitVersion_MajorMinor)
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.($env:GitVersion_MajorMinor).nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinorPatch)
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.v$($env:GitVersion_MajorMinorPatch).nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
From 7d937e52bf67312a9d211a4111e9954b4ee335ca Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 18:59:52 +0530
Subject: [PATCH 101/103] Update main.yml
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f9bbd06..68cd265 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-v$($env:GitVersion_MajorMinorPatch).zip"
+ $fileName = "sourcegrid-v$($env:GitVersion_MajorMinor).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -101,8 +101,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinorPatch)
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.v$($env:GitVersion_MajorMinorPatch).nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinor)
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.v$($env:GitVersion_MajorMinor).nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
From 3b2abddb176f72d7a452fb27a994cdb336469042 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Fri, 17 Nov 2023 19:06:18 +0530
Subject: [PATCH 102/103] Update main.yml
---
.github/workflows/main.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 68cd265..f0c66b0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -81,7 +81,7 @@ jobs:
$sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "net*"
$outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid"
New-Item -ItemType Directory -Force -Path $outFolder
- $fileName = "sourcegrid-v$($env:GitVersion_MajorMinor).zip"
+ $fileName = "sourcegrid-v$($env:GitVersion_MajorMinorPatch).zip"
Write-Host "Filename: '$fileName'"
Write-Host "sourceFolder: '$sourceFolder'"
Write-Host "Outfolder: '$outFolder'"
@@ -101,8 +101,8 @@ jobs:
- name: Create Nuget Packages
id: createNupkg
run: |
- nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinor)
- Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.v$($env:GitVersion_MajorMinor).nupkg"
+ nuget pack .nuget\SourceGrid.nuspec -Version $($env:GitVersion_MajorMinorPatch)
+ Write-Host "::set-output name=nupkg-sourcegrid::sourcegrid.v$($env:GitVersion_MajorMinorPatch).nupkg"
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
@@ -137,9 +137,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: v$($env:GitVersion_MajorMinor)
+ tag_name: v$($env:GitVersion_MajorMinorPatch)
#tag_name: ${{ needs.build.outputs.semver }}
- release_name: Release v$($env:GitVersion_MajorMinor)
+ release_name: Release v$($env:GitVersion_MajorMinorPatch)
body: |
${{ github.event.head_commit.message }}
draft: true
From 6903f88e6df313b74d02c0649b40f329e06dc780 Mon Sep 17 00:00:00 2001
From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com>
Date: Tue, 21 Nov 2023 13:12:09 +0530
Subject: [PATCH 103/103] Update GitVersion.yml
---
GitVersion.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GitVersion.yml b/GitVersion.yml
index 6740ae6..48fb169 100644
--- a/GitVersion.yml
+++ b/GitVersion.yml
@@ -1,4 +1,4 @@
-mode: Mainline
+mode: ContinuousDelivery
next-version: 2.0.0
branches:
master: