Skip to content

runner.os instead of RUNNER_OS #9

runner.os instead of RUNNER_OS

runner.os instead of RUNNER_OS #9

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
env:
GITHUB_TOKEN: ${{ github.TOKEN }}