Skip to content

Update gitver.txt

Update gitver.txt #102

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET Framework
on:
push:
branches: [ "dev", "fix-cli-net-framework" ]
pull_request:
branches: [ "dev" ]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1.1
- name: Restore Packages
run: nuget restore Naticord/Naticord.sln
- name: Build
run: 'msbuild Naticord/Naticord.sln -t:rebuild -property:Configuration=Debug'
- name: Clone naticord-setup
run: 'git clone https://github.com/Naticord/naticord-setup Naticord\bin\setup'
- name: Copy Release build to \setup
run: copy Naticord\bin\Debug\* Naticord\bin\setup
- name: Compile .ISS to .EXE Installer
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
with:
path: Naticord\bin\setup\naticord.iss
options: /O+
- name: List directory of \setup (debugging)
run: dir Naticord\bin\setup\naticord
- name: Upload Naticord
uses: actions/upload-artifact@v4.3.3
with:
name: naticord-setup
path: Naticord\bin\setup\naticord\naticord-setup.exe
compression-level: 0