remove test pipeline
This commit is contained in:
parent
b6185dec1b
commit
be34a58dca
3 changed files with 4 additions and 41 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -18,16 +18,12 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Add MSBuild to the PATH https://github.com/microsoft/setup-msbuild
|
||||||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
|
||||||
- name: Setup MSBuild.exe
|
|
||||||
uses: microsoft/setup-msbuild@v1
|
uses: microsoft/setup-msbuild@v1
|
||||||
|
|
||||||
- name: Restore the application
|
- 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
|
- 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
|
- name: Create msi from PowerShell Script
|
||||||
run: pwsh -command ".\$GITHUB_WORKSPACE\create_msi.ps1"
|
run: pwsh -command ".\$GITHUB_WORKSPACE\create_msi.ps1"
|
||||||
- name: Upload files artifact
|
- name: Upload files artifact
|
||||||
|
|
@ -39,4 +35,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: installer
|
name: installer
|
||||||
path: ./AmagnoPrinterInstaller.msi
|
path: ${{github.workspace}}\AmagnoPrinterInstaller.msi
|
||||||
|
|
|
||||||
29
.github/workflows/test.yml
vendored
29
.github/workflows/test.yml
vendored
|
|
@ -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/**/*
|
|
||||||
4
test.ps1
4
test.ps1
|
|
@ -1,4 +0,0 @@
|
||||||
Get-Date
|
|
||||||
Start-Sleep -Seconds 10
|
|
||||||
Get-Date
|
|
||||||
New-Item -Name test.txt -Value "Hi"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue