Skip to content

fix: simplify download command in installer script #11

fix: simplify download command in installer script

fix: simplify download command in installer script #11

Workflow file for this run

name: Release

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

(Line: 51, Col: 9): Unexpected value 'vars'
on:
workflow_dispatch:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Show tag info
run: echo "Building release for tag ${{ github.ref_name }}"
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.25
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: '18'
- name: Install Task
uses: arduino/setup-task@v2
- name: Scratch init
run: |
task scratch:init
- name: Create build
run: |
task app:build
- name: Create zip
run: |
task app:zip
- uses: ncipollo/release-action@v1
with:
artifacts: "build/scratch-arduino-app*.zip"
allowUpdates: true
vars:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload artifacts
# uses: actions/upload-artifact@v5
# with:
# name: scratch-arduino-app-${{ github.ref_name }}
# path: build/scratch-arduino-app-*.zip
# if-no-files-found: error