Skip to content

Update dependencies #146

Update dependencies

Update dependencies #146

Workflow file for this run

name: Build/Publish artifacts
on:
push:
branches:
- master
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 20
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Python setup tools
run: |
pip install setuptools
- name: Install dependencies
run: yarn
- name: Add macOS certs
if: matrix.os == 'macos-latest'
run: chmod +x ./.github/add-macos-certificate.sh && ./.github/add-macos-certificate.sh
env:
APPLE_CERTIFICATES: ${{ secrets.APPLE_CERTIFICATES }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
- name: Build
run: |
yarn make -- --arch x64
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
- name: Upload macOS artifacts
uses: actions/upload-artifact@v4
if: ${{ runner.os == 'macOS' }}
with:
name: macos-build
path: |
out/make/**/*.zip
out/make/**/*.dmg
- name: Upload Windows artifacts
uses: actions/upload-artifact@v4
if: ${{ runner.os == 'Windows' }}
with:
name: windows-build
path: |
out/make/**/*.nupkg
out/make/**/*.exe
- name: Upload Linux artifacts
uses: actions/upload-artifact@v4
if: ${{ runner.os == 'Linux' }}
with:
name: linux-build
path: |
out/make/**/*.rpm
out/make/**/*.deb