Release 0.13.9 #12
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: release-desktop | |
| on: | |
| release: | |
| types: [created] # will be triggered when a NON-draft release is created and published. | |
| permissions: | |
| contents: write | |
| jobs: | |
| publish-desktop-app: | |
| name: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos, ubuntu, windows] | |
| fail-fast: false # So publish runs for other OSes if one fails | |
| runs-on: ${{ matrix.os }}-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: master | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run unit tests | |
| run: npm run test:unit | |
| continue-on-error: true | |
| - name: Prebuild | |
| run: npm run electron:prebuild | |
| - name: Build and publish | |
| run: npm run electron:build -- --publish always | |
| shell: bash | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| EP_GH_IGNORE_TIME: true |