Bumped version to 2.0.10. Updated dependencies. #109
Workflow file for this run
This file contains 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: Prepare releases | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
trigger-flathub_build: | |
name: Trigger Flathub build bot | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger Flathub build | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.TRIGGER_FLATHUB_BUILD }} | |
repository: ransome1/com.github.ransome1.sleek | |
event-type: trigger-flathub-build | |
client-payload: '{"commit_id": "${{ github.sha }}"}' | |
macos: | |
name: MacOS (Prepare release) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@master | |
- name: Install Node and NPM | |
uses: actions/setup-node@master | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install and build | |
run: | | |
yarn --network-timeout 100000 | |
yarn run build | |
- name: Run Electron Builder | |
uses: samuelmeuli/action-electron-builder@v1 | |
env: | |
CSC_LINK: ${{ secrets.CSC_LINK }} | |
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | |
APPLE_ID: ${{ secrets.APPLE_ID }} | |
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }} | |
TEAM_ID: ${{ secrets.TEAM_ID }} | |
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} | |
with: | |
max_attempts: 5 | |
github_token: ${{ secrets.github_token }} | |
release: ${{ startsWith(github.ref, 'refs/tags/') }} | |
windows: | |
name: Windows (Prepare release) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@master | |
- name: Install Node and NPM | |
uses: actions/setup-node@master | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install and build | |
run: | | |
yarn --network-timeout 100000 | |
yarn run build | |
- name: Run Electron Builder | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
max_attempts: 5 | |
github_token: ${{ secrets.github_token }} | |
release: ${{ startsWith(github.ref, 'refs/tags/') }} | |
linux: | |
name: Linux (Prepare release) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@master | |
- name: Install Node and NPM | |
uses: actions/setup-node@master | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install and build | |
run: | | |
yarn --network-timeout 100000 | |
yarn run build | |
- name: Run Electron Builder | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
max_attempts: 5 | |
github_token: ${{ secrets.github_token }} | |
release: ${{ startsWith(github.ref, 'refs/tags/') }} |