Fresh 0.6.0 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |