Skip to content

Commit

Permalink
chore: suppport github action ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinzhao committed Sep 16, 2022
1 parent ef0c74b commit 9443404
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- "macOS-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install yarn -g
- run: yarn install
- run: npm run make
- name: Upload file
uses: actions/upload-artifact@v2
with:
name: packs
path: |
out/make/*
out/make/zip/darwin/x64/*
out/make/rpm/x64/*
out/make/deb/x64/*
out/make/squirrel.windows/x64/*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dolphin",
"productName": "Dolphin",
"version": "0.1.1",
"version": "0.1.2",
"description": "An electron ssh dynamic port forward client for MacOS",
"repository": {
"url": "https://github.com/miaowing/dolphin"
Expand Down

0 comments on commit 9443404

Please sign in to comment.