2025.11.1 #18
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: Create packages | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - '*' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| id-token: write # to enable use of OIDC for trusted publishing and npm provenance | |
| jobs: | |
| electron: | |
| strategy: | |
| matrix: | |
| image: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.image }} | |
| env: | |
| CSC_IDENTITY_AUTO_DISCOVERY: true | |
| CSC_LINK: ${{ secrets.CSC_LINK }} | |
| CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js LTS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| cache: 'npm' | |
| - name: Install dependencies (Node.js) | |
| run: npm ci | |
| - name: Build electron app | |
| run: npm run build:electron | |
| - name: build package | |
| run: npx electron-builder build --x64 --arm64 --publish always | |
| - name: Upload built packages | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: artifact-${{ matrix.image }} | |
| path: release/ | |
| plugin: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js LTS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| cache: 'npm' | |
| - name: Install dependencies (Node.js) | |
| run: npm ci | |
| - name: generate contents | |
| run: npm run build:plugin | |
| - name: publish | |
| run: npm publish | |
| working-directory: plugins |