Skip to content

build(deps): bump braces from 3.0.2 to 3.0.3 #74

build(deps): bump braces from 3.0.2 to 3.0.3

build(deps): bump braces from 3.0.2 to 3.0.3 #74

Workflow file for this run

name: C/C++ CI
on: [push, pull_request]
jobs:
build:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
name: "Builds binaries on ${{ matrix.os }}"
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
- name: Update submodules
run: |
git submodule sync --recursive
git submodule update --init --recursive
- name: Install packages
run: |
npm install
npm install -g @lcui/cli@beta
- name: Restore xmake packages
uses: actions/cache@v4
with:
path: ~/.xmake/.cache/packages
key: ${{ runner.os }}-xmake-packages
- name: Build
run: |
xmake config -y
lcui build
- name: Package
run: |
xmake install -o artifact/build
mkdir artifact/package
cp -r dist artifact/package/lcui-quick-start
cp artifact/build/bin/* artifact/package/lcui-quick-start
- uses: actions/upload-artifact@master
with:
name: package (${{ runner.os }})
path: artifact/package
- name: Cache xmake packages
uses: actions/cache@v4
with:
path: ~/.xmake/.cache/packages
key: ${{ runner.os }}-xmake-packages