Skip to content

Merge pull request #431 from VPKSoft/dependabot/nuget/MSTest.TestFram… #373

Merge pull request #431 from VPKSoft/dependabot/nuget/MSTest.TestFram…

Merge pull request #431 from VPKSoft/dependabot/nuget/MSTest.TestFram… #373

name: .NET Core Desktop Windows Installer
on:
push:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore "$Env:GITHUB_WORKSPACE/amp multiplatform.sln"
- name: Publish
run: dotnet publish --no-restore "$Env:GITHUB_WORKSPACE/amp.EtoForms/amp.EtoForms.csproj" --configuration Release
- name: Create installer # Go give it a star(!): https://github.com/marketplace/actions/makensis
uses: joncloud/makensis-action@v3.7
with:
arguments: "/V3"
script-file: ${{ github.workspace }}/Packaging/Windows/setup_amp.nsi
- uses: actions/upload-artifact@v3
with:
name: amp# installer
path: ${{ github.workspace }}/Packaging/Windows/setup_amp.exe
if-no-files-found: error