From be34a58dca1c9599ee88e5fa84c0fe9ef60f6035 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Wed, 31 May 2023 14:00:28 +0200 Subject: [PATCH] remove test pipeline --- .github/workflows/build.yml | 12 ++++-------- .github/workflows/test.yml | 29 ----------------------------- test.ps1 | 4 ---- 3 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 .github/workflows/test.yml delete mode 100644 test.ps1 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21db7a5..bf43e25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,16 +18,12 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - - name: Setup MSBuild.exe + - name: Add MSBuild to the PATH https://github.com/microsoft/setup-msbuild uses: microsoft/setup-msbuild@v1 - - name: Restore the application - run: msbuild $env:solution /t:Restore /p:Configuration=$env:configuration - + run: msbuild $env:solution /m /t:Restore /p:Configuration=$env:configuration - name: Build solution - run: msbuild $env:solution /t:Rebuild /p:Configuration=$env:configuration + run: msbuild $env:solution /m /t:Rebuild /p:Configuration=$env:configuration - name: Create msi from PowerShell Script run: pwsh -command ".\$GITHUB_WORKSPACE\create_msi.ps1" - name: Upload files artifact @@ -39,4 +35,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: installer - path: ./AmagnoPrinterInstaller.msi + path: ${{github.workspace}}\AmagnoPrinterInstaller.msi diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index d1db705..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Test - -on: - push: - branches: [ main ] - -jobs: - build: - runs-on: windows-latest - env: - solution: AmagnoVirtualPrinter.sln - configuration: Release - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Create msi from PowerShell Script - run: pwsh -command ".\$GITHUB_WORKSPACE\test.ps1" - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: installer - path: ${{github.workspace}}\test.txt - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: files - path: ${{github.workspace}}/files/**/* diff --git a/test.ps1 b/test.ps1 deleted file mode 100644 index 589d571..0000000 --- a/test.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -Get-Date -Start-Sleep -Seconds 10 -Get-Date -New-Item -Name test.txt -Value "Hi"