mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-10-01 00:55:48 +00:00
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Build
|
|
|
|
on: push
|
|
|
|
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 }}
|