Skip to content

0.9.39

0.9.39 #4

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: yarn
- name: Install dependencies
run: |
yarn install
- name: Build
env:
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
run: |
script/ci-build.sh ${{ github.event_name }}
- name: Upload asar
uses: actions/upload-artifact@v4
with:
name: asar
path: build/*.asar
- name: Notify webhook
if: github.event_name == 'push' && github.ref_name == 'master'
run: |
curl --silent ${{ secrets.WEBHOOK_URL }}