Skip to content

Merge pull request #420 from VPKSoft/dependabot/nuget/System.Text.Jso… #361

Merge pull request #420 from VPKSoft/dependabot/nuget/System.Text.Jso…

Merge pull request #420 from VPKSoft/dependabot/nuget/System.Text.Jso… #361

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/[email protected]
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