Skip to content

Release app

Release app #109

Workflow file for this run

name: Release app
on:
workflow_dispatch
permissions: {}
jobs:
build:
strategy:
matrix:
include:
- name: linux
runner: ubuntu-latest
targets: "tar.xz AppImage deb rpm"
arch: "--x64 --arm64 --armv7l"
- name: win
runner: windows-latest
targets: "zip nsis"
arch: "--x64 --ia32 --arm64"
- name: mac
runner: macos-latest
targets: "dmg"
arch: "--x64 --arm64"
name: ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
steps:
- name: Github checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Python setuptools
if: matrix.name == 'mac'
run: brew install python-setuptools
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "23.x"
- name: Install Node dependencies
run: bun install --frozen-lockfile
- name: Install electron-builder globally
run: bun add electron-builder -g
- name: Build GoofCord
run: bun run build
- name: Package GoofCord
permissions:

Check failure on line 57 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Release app

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 57, Col: 9): Unexpected value 'permissions'
contents: write
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: electron-builder ${{ matrix.arch }} --${{ matrix.name }} ${{ matrix.targets }} --publish=always