Unexplode release workflow
This commit is contained in:
parent
e16cdcf387
commit
c5165afe7f
1 changed files with 30 additions and 30 deletions
60
.github/workflows/release.yml
vendored
60
.github/workflows/release.yml
vendored
|
@ -1,42 +1,42 @@
|
||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
|
|
||||||
- name: Run Electron Builder
|
- name: Run Electron Builder
|
||||||
uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928
|
uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
RELEASE: true
|
RELEASE: true
|
||||||
|
|
||||||
- name: Update AUR package
|
- name: Update AUR package
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt install makepkg
|
sudo apt install makepkg
|
||||||
|
|
||||||
echo $SSH_KEY > ~/.ssh/aur
|
echo $SSH_KEY > ~/.ssh/aur
|
||||||
echo $SSH_PUB_KEY > ~/.ssh/aur.pub
|
echo $SSH_PUB_KEY > ~/.ssh/aur.pub
|
||||||
export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur"
|
export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur"
|
||||||
|
|
||||||
./scripts/aur_bump.sh
|
./scripts/aur_bump.sh
|
||||||
with:
|
env:
|
||||||
SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
|
SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
|
||||||
SSH_PUB_KEY: ${{ secrets.AUR_SSH_PUB_KEY }}
|
SSH_PUB_KEY: ${{ secrets.AUR_SSH_PUB_KEY }}
|
||||||
|
|
Loading…
Reference in a new issue