Skip to content

fix: [lua] paths 改为排他生效,默认目录仅兜底 #10

fix: [lua] paths 改为排他生效,默认目录仅兜底

fix: [lua] paths 改为排他生效,默认目录仅兜底 #10

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
paths-ignore:
- 'docs/**'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
- '.gitignore'
- '.gitattributes'
push:
branches: [main]
paths-ignore:
- 'docs/**'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
- '.gitignore'
- '.gitattributes'
# Cancel previous runs on the same PR / branch when new commits arrive.
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build (${{ matrix.config }})
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
config: [Release, Debug]
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
# The runner's default MSVC toolset is used on purpose (the code is C++20
# and builds with the toolset shipped in the image). On machines that need
# a specific toolset, build locally with: set TOOLSET=<ver> && build.bat
- name: Configure
run: cmake -S src -B build -G "Ninja Multi-Config"
- name: Build ${{ matrix.config }}
run: cmake --build build --config ${{ matrix.config }}
- name: Upload artifacts
if: success()
uses: actions/upload-artifact@v4
with:
name: ZSteamTool-${{ matrix.config }}-pr${{ github.event.pull_request.number || github.run_number }}
path: build/${{ matrix.config }}/
retention-days: 7