29 lines
667 B
YAML
29 lines
667 B
YAML
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/**/*
|