Fix crashes, refactor code #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build IMGEditor | |
on: push | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.0.0 | |
- name: Setup premake | |
uses: abel0b/setup-premake@v2 | |
with: | |
version: "5.0.0-beta1" | |
- name: Configure build | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: Win64 | |
- name: Build plugin | |
run: | | |
cd tools | |
premake5 vs2022 | |
cd ../build | |
MsBuild IMGEditor.sln /property:Configuration=Release /p:Platform=Win64 /t:IMGEditorApp | |
- name: Upload plugin | |
uses: actions/upload-artifact@v3 | |
with: | |
name: IMGEditor | |
path: build\bin\IMGEditorApp.exe |