mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-30 00:25:49 +00:00
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
tags-ignore:
|
|
- '**'
|
|
paths-ignore:
|
|
- 'showcase/**'
|
|
- README.md
|
|
|
|
jobs:
|
|
windows:
|
|
runs-on: windows-2019
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
- run: yarn --frozen-lockfile
|
|
- run: yarn electron:publish
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Hash
|
|
run: type .\dist_electron\latest.yml
|
|
|
|
linux:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
- run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libxtst-dev libpng++-dev
|
|
- run: yarn --frozen-lockfile
|
|
- run: yarn electron:publish
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Hash
|
|
run: cat ./dist_electron/latest-linux.yml
|
|
|
|
# darwin:
|
|
# runs-on: macos-10.15
|
|
# steps:
|
|
# - uses: actions/checkout@v2
|
|
# - uses: actions/setup-node@v1
|
|
# with:
|
|
# node-version: 12
|
|
# - run: yarn --frozen-lockfile
|
|
# - run: yarn electron:publish
|
|
# env:
|
|
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|