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] 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