Update librime #102
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: commit ci | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout last commit | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install clang-format | |
run: brew install clang-format | |
- name: Lint | |
run: make clang-format-lint | |
- name: Configure build environment | |
run: | | |
echo git_ref_name="$(git describe --always)" >> $GITHUB_ENV | |
- name: Build Squirrel | |
run: ./action-build.sh package | |
- name: Upload Squirrel artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Squirrel-${{ env.git_ref_name }}.zip | |
path: package/*.pkg | |
# keep 90 days | |
retention-days: 90 |