Skip to content

Multi-OS support

Multi-OS support #8

Workflow file for this run

name: release
on:
push:
branches:
- main
tags:
- '*'
jobs:
build:
name: Release ${{ matrix.os }} PyInstaller
runs-on: ${{ matrix.os }}
permissions: write-all
strategy:
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: Release
run: gh release upload ${{ github.ref_name }} dist/gistim-${{ RUNNER_OS }}.zip sha256-${{ RUNNER_OS }}.txt

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

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 31, Col: 14): Unrecognized named-value: 'RUNNER_OS'. Located at position 1 within expression: RUNNER_OS
env:
GITHUB_TOKEN: ${{ github.TOKEN }}