Skip to content

Workflow file for this run

name: Build
on:
push:
tags:
- v*.*.*
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
arch: [arm64, amd64]
- os: macos-latest
arch: [arm64, amd64]
- os: windows-latest
arch: [amd64]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm install
- name: Build Release Files
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release Assets
uses: softprops/action-gh-release@v2
with:

Check failure on line 41 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
draft: false
prerelease: false
fail_on_unmatched_files: false
files: |
dist-release/*.exe
# dist-release/*.zip
dist-release/*.dmg
dist-release/*.AppImage
# dist-release/*.snap
dist-release/*.deb
# dist-release/*.rpm
# dist-release/*.tar.gz
# dist-release/*.blockmap
# dist-release/latest.yml
# dist-release/latest-mac.yml
# dist-release/latest-linux.yml
# dist-release/latest-linux-arm64.yml
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}