2023-11-07 16:17:43 +01:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- 'v*'
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 40
|
|
|
|
|
|
|
|
env:
|
|
|
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2023-12-02 08:03:22 +01:00
|
|
|
- uses: actions/setup-node@v4
|
2023-11-07 16:17:43 +01:00
|
|
|
with:
|
2023-12-30 10:42:17 +01:00
|
|
|
node-version: 20
|
2023-11-07 16:17:43 +01:00
|
|
|
cache: yarn
|
|
|
|
|
|
|
|
- name: Install Snapcraft
|
|
|
|
uses: samuelmeuli/action-snapcraft@v2
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
yarn install
|
|
|
|
yarn build
|
|
|
|
- name: Release
|
2024-10-31 23:41:59 +01:00
|
|
|
uses: softprops/action-gh-release@v2.0.9
|
2023-11-07 16:17:43 +01:00
|
|
|
with:
|
|
|
|
draft: true
|
|
|
|
files: |
|
|
|
|
dist/*.deb
|
|
|
|
dist/*.rpm
|
|
|
|
dist/*.tar.bz2
|
|
|
|
dist/*.AppImage
|
|
|
|
|
|
|
|
release-windows:
|
|
|
|
runs-on: windows-latest
|
|
|
|
timeout-minutes: 40
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2023-12-02 08:03:22 +01:00
|
|
|
- uses: actions/setup-node@v4
|
2023-11-07 16:17:43 +01:00
|
|
|
with:
|
2023-12-30 10:42:17 +01:00
|
|
|
node-version: 20
|
2023-11-07 16:17:43 +01:00
|
|
|
cache: yarn
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
yarn install
|
|
|
|
yarn build
|
2023-11-07 16:34:35 +01:00
|
|
|
- name: Release
|
2024-10-31 23:41:59 +01:00
|
|
|
uses: softprops/action-gh-release@v2.0.9
|
2023-11-07 16:34:35 +01:00
|
|
|
with:
|
|
|
|
draft: true
|
|
|
|
files: |
|
|
|
|
dist/*.exe
|
|
|
|
|
2023-11-07 16:17:43 +01:00
|
|
|
|
|
|
|
release-macos:
|
|
|
|
runs-on: macos-latest
|
|
|
|
timeout-minutes: 40
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2023-12-02 08:03:22 +01:00
|
|
|
- uses: actions/setup-node@v4
|
2023-11-07 16:17:43 +01:00
|
|
|
with:
|
2023-12-30 10:42:17 +01:00
|
|
|
node-version: 20
|
2023-11-07 16:17:43 +01:00
|
|
|
cache: yarn
|
|
|
|
|
|
|
|
- name: Apple Codesigning
|
2024-05-27 17:42:11 +02:00
|
|
|
uses: apple-actions/import-codesign-certs@v3
|
2023-11-07 16:17:43 +01:00
|
|
|
with:
|
|
|
|
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
|
|
|
|
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
|
|
|
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
|
|
|
ASC_PROVIDER: ${{ secrets.ASC_PROVIDER }}
|
|
|
|
TEAM_ID: ${{ secrets.ASC_PROVIDER }}
|
|
|
|
run: |
|
|
|
|
yarn install
|
|
|
|
yarn build
|
2023-11-07 16:34:35 +01:00
|
|
|
- name: Release
|
2024-10-31 23:41:59 +01:00
|
|
|
uses: softprops/action-gh-release@v2.0.9
|
2023-11-07 16:34:35 +01:00
|
|
|
with:
|
|
|
|
draft: true
|
|
|
|
files: |
|
|
|
|
dist/*.dmg
|