Skip to content

Refactor build scripts and remove unnecessary asset bundling #5

Refactor build scripts and remove unnecessary asset bundling

Refactor build scripts and remove unnecessary asset bundling #5

Workflow file for this run

name: Build and Bundle Windows
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_windows:
# if: false # This workflow is disabled
runs-on: windows-latest
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v3
- name: Setup msys2
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
- name: Build wariosave
run: |
# Copy assets to the same directory as the executable
mkdir -p build/release
cd lib/
make release
- name: Publish Build Artifacts
uses: actions/upload-artifact@v2
with:
name: wariosave-artifacts-windows-x64
path: build/release