Skip to content

include site links + google analytics #47

include site links + google analytics

include site links + google analytics #47

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

`tag` is not a valid event name
on:
tag:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build_linux_windows:
runs-on: ubuntu-latest
steps:
- name: install wine
run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install -y libgcc-s1:i386 libstdc++6:i386 wine32 wine
- uses: actions/checkout@v3
- name: check env variables
run: ./check-envs.sh
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: install dependencies
run: npm install
- name: build
run: npm run build:no-mac
- name: publish
env:
gh_token: ${{ secrets.GITHUB_TOKEN }}
run: npm run release
# build_on_mac:
# runs-on: macos-latest
# env:
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
# steps:
# - uses: actions/checkout@v2
# - name: check env variables
# run: ./check-envs.sh --mac
# - uses: actions/setup-node@master
# with:
# node-version: 20
# - name: install dependencies
# run: npm install
# - name: build
# run: npm run build
# - name: publish
# run: npm run release
# build_on_win:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# - name: check env variables
# run: .\check-envs.ps1
# - uses: actions/setup-node@master
# with:
# node-version: 20
# - name: install dependencies
# run: npm install
# - name: build
# run: npm run build
# - name: publish
# env:
# gh_token: ${{ secrets.GITHUB_TOKEN }}
# run: npm run release