修复远程桌面软件按 modifier key 时产生幽灵 'a' 按键的问题 #391
Workflow file for this run
This file contains hidden or 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: pull request ci | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout last commit | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Install SwiftLint | |
| run: brew install swiftlint | |
| - name: Lint | |
| run: swiftlint | |
| - name: Configure build environment | |
| run: | | |
| echo git_ref_name="$(git describe --always)" >> $GITHUB_ENV | |
| - name: Build Squirrel | |
| run: ./action-build.sh package | |
| - name: Install periphery | |
| run: brew install peripheryapp/periphery/periphery | |
| - name: Check Unused Code | |
| run: periphery scan --relative-results --skip-build --index-store-path build/Index.noindex/DataStore | |
| - name: Upload Squirrel artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: Squirrel-${{ env.git_ref_name }}.zip | |
| path: package/*.pkg | |
| # keep 30 days | |
| retention-days: 30 |