Skip to content

Commit

Permalink
Merge pull request #5 from nomyTx/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyza authored Nov 2, 2021
2 parents 1ccae24 + 04f61bc commit 3ddd366
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
branches: [ master ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: electron

- uses: actions/checkout@v2
with:
repository: kernel-mod/browser
path: browser

- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 6.20.1

- run: |
cd browser
pnpm i
cd ../electron
pnpm i
pnpm run build
- name: Release
uses: softprops/[email protected]
with:
name: ${{ github.sha }}
tag_name: ${{ github.ref }}
body: ${{ join(github.event.commits.*.message, '\n') }}
files: "electron/dist/kernel.asar"

0 comments on commit 3ddd366

Please sign in to comment.