Skip to content

Build & Release

Build & Release #18

Workflow file for this run

name: Build & Release
on:
workflow_dispatch:
inputs:
version:
required: true
jobs:
build:
permissions: write-all
runs-on: windows-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
# - name: Setup Visual Studio Build Environment & Build
# run: |
# & "C:/Program Files/Microsoft/Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat"
- name: Setup Visual Studio Build Environment
uses: ilammy/msvc-dev-cmd@v1
- name: Build Executable and DLL
run: nmake
- name: Create Release
run: gh release create ${{ github.event.inputs.version }} ./lightwm.exe ./lightwm_dll.dll -n "Version ${{ github.event.inputs.version }}"