Skip to content

Alternative upload action #2

Alternative upload action

Alternative upload action #2

Workflow file for this run

name: release
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
build:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
runs-on: ${{ matrix.os }}
permissions:
content: write
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/[email protected]
- name: Build with PyInstaller
run: pixi run build-backend
- name: Create ZIP Archive
run: pixi run create-archive
- name: Upload archive to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/gistim-*.zip
tag: ${{ github.ref }}
overwrite: true
file_glob: true