remove test pipeline

This commit is contained in:
Gerrit 2023-05-31 14:00:28 +02:00
parent b6185dec1b
commit be34a58dca
3 changed files with 4 additions and 41 deletions

View file

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

View file

@ -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/**/*

View file

@ -1,4 +0,0 @@
Get-Date
Start-Sleep -Seconds 10
Get-Date
New-Item -Name test.txt -Value "Hi"