Skip to content

Updated releaser action #12

Updated releaser action

Updated releaser action #12

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 16, Col: 5): A sequence was not expected
on:
push:
tags:
- 'v*'
jobs:
build:
name: Release ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: pnpm install
- name: Install Snapcraft (Linux only)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y snapd
sudo snap install snapcraft --classic
- name: Build & Publish Release
run: pnpm run package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}