Skip to content

Update version

Update version #46

Workflow file for this run

name: Build and Release
on:
push:
branches: [release]
permissions:
contents: write
jobs:
build_and_release:
runs-on: ${{ matrix.os }}
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: [macos-latest, macos-13, ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 18
- name: Linux Build
if: matrix.os == 'ubuntu-latest'
run: |
sudo snap install snapcraft --classic
wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg_linux_amd64"
mv ffmpeg_linux_amd64 ffmpeg
chmod +x ffmpeg
npm i
npx electron-builder -l --publish=always
npm run gh-linux
- name: Macos Intel Build
if: matrix.os == 'macos-13'
run: |
curl -L https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg_mac_amd64 -o ffmpeg
chmod +x ffmpeg
npm i
npm run gh-mac
- name: Macos Arm Build
if: matrix.os == 'macos-latest'
run: |
curl -L https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg_mac_arm64 -o ffmpeg
chmod +x ffmpeg
npm i
npm run gh-mac
- name: Windows Build
if: matrix.os == 'windows-latest'
run: |
Invoke-WebRequest -Uri "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg.exe" -OutFile ffmpeg.exe
npm i
npm run gh-windows