Skip to content

Update stale.yml

Update stale.yml #733

Workflow file for this run

name: Build & Release
env:
GH_TOKEN: ${{ SECRETS.GITHUB_TOKEN }}
on: push
defaults:
run:
shell: bash
jobs:
linux_x64:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 18
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:linux:x64 -- --publish always
linux_arm64:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:linux:arm64 -- --publish always
linux_arm:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:linux:arm -- --publish always
dmg:
runs-on: macos-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:mac:x64 -- --publish always
exe:
runs-on: windows-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:windows -- --publish always