Pipeline per-key commands for performance (#451) #168
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: Build Linux | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: build-linux-artifact | |
| strategy: | |
| matrix: | |
| include: | |
| - arch: x64 | |
| runner: ubuntu-latest | |
| package_script: package:linux:nosign | |
| - arch: arm64 | |
| runner: ubuntu-24.04-arm | |
| package_script: package:linux:arm64:nosign | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'latest' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Package unsigned Linux app (${{ matrix.arch }}) | |
| run: npm run ${{ matrix.package_script }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |