Skip to content

ci: add reelase workflow #7

ci: add reelase workflow

ci: add reelase workflow #7

Workflow file for this run

name: Release
on:
push:
branches: [ 'workflows/release' ]
tags:
- "v*"
workflow_dispatch:
jobs:
release:
name: Release
strategy:
matrix:
include:
- os: windows-2022
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip'
- name: Install python dependencies
run: pip install poetry && poetry install -E win
- name: Build
run: poetry run python builder.py build
- name: Upload
uses: actions/upload-artifact@v3
with:
name: sportorg
path: build/exe.win-amd64-3.8