-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e16cdcf
commit c5165af
Showing
1 changed file
with
37 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Run Electron Builder | ||
uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
RELEASE: true | ||
|
||
- name: Update AUR package | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
run: | | ||
sudo apt install makepkg | ||
echo $SSH_KEY > ~/.ssh/aur | ||
echo $SSH_PUB_KEY > ~/.ssh/aur.pub | ||
export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur" | ||
./scripts/aur_bump.sh | ||
with: | ||
SSH_KEY: ${{ secrets.AUR_SSH_KEY }} | ||
SSH_PUB_KEY: ${{ secrets.AUR_SSH_PUB_KEY }} | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Run Electron Builder | ||
uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
RELEASE: true | ||
|
||
- name: Update AUR package | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
run: | | ||
sudo apt install makepkg | ||
echo $SSH_KEY > ~/.ssh/aur | ||
echo $SSH_PUB_KEY > ~/.ssh/aur.pub | ||
export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur" | ||
./scripts/aur_bump.sh | ||
env: | ||
SSH_KEY: ${{ secrets.AUR_SSH_KEY }} | ||
SSH_PUB_KEY: ${{ secrets.AUR_SSH_PUB_KEY }} |