Skip to content

feat: release 1.0.2 #65

feat: release 1.0.2

feat: release 1.0.2 #65

Workflow file for this run

name: Build (Windows)
on:
push:
paths:
- .github/workflows/build-windows.yml
- src/**
- xmake.lua
workflow_dispatch:
jobs:
build:
strategy:
matrix:
mode: [release, debug]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup XMake
uses: xmake-io/github-action-setup-xmake@v1
- name: Restore xmake cache
uses: actions/cache@v4
with:
path: |
~/AppData/Local/.xmake
key: xmake-windows-${{ hashFiles('xmake.lua') }}
restore-keys: |
xmake-windows-
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2
- name: Sync with repository
run: |
xmake repo -u
- name: Configure
run: |
xmake f -a x64 -m ${{ matrix.mode }} -p windows -v -y
- name: Build
run: |
xmake -v -y
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: allay-launcher-windows-x64-${{ matrix.mode }}
path: |
build/windows/x64/${{ matrix.mode }}