32 lines
692 B
YAML
32 lines
692 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'release'
|
|
tags-ignore:
|
|
- '*'
|
|
|
|
jobs:
|
|
|
|
build-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.13'
|
|
- name: Upgrade pip and enable wheel support
|
|
run: python -m pip install --upgrade pip setuptools wheel
|
|
- name: install requirements
|
|
run: |
|
|
pip install -r requirements.txt
|
|
pip install build
|
|
- name: create pip package
|
|
run: python -m build
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
path: dist/gotify_tray-*.whl
|