Skip to content

Fresh 0.6.0

Fresh 0.6.0 #15

Workflow file for this run

name: release
on:
push:
branches:
- main
tags:
- '*'
jobs:
build:
name: Release ${{ matrix.os }}
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 backend ZIP
run: pixi run zip-backend
- name: Release backend ZIP
run: gh release upload ${{ github.ref_name }} dist/gistim-${{ runner.os }}.zip dist/sha256-checksum-${{ runner.os }}.txt
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
- name: Create plugin ZIP
if: matrix.os == 'ubuntu-latest'
run: pixi run zip-plugin
- name: Release plugin ZIP
if: matrix.os == 'ubuntu-latest'
run: gh release upload ${{ github.ref_name }} dist/QGIS-Tim-plugin.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}