Skip to content

chore(release): 0.5.4 #24

chore(release): 0.5.4

chore(release): 0.5.4 #24

Workflow file for this run

name: release_flatpak
on:
workflow_dispatch:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
env:
BUILD_PYTHON_VERSION: "3.10"
BUILD_POETRY_VERSION: "2.2.1"
jobs:
build_python:
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: false
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python ${{ env.BUILD_PYTHON_VERSION }}
uses: actions/setup-python@v6
with:
python-version: ${{ env.BUILD_PYTHON_VERSION }}
- name: Set up Poetry ${{ env.BUILD_POETRY_VERSION }}
uses: abatilo/actions-poetry@v4
with:
poetry-version: ${{ env.BUILD_POETRY_VERSION }}
poetry-plugins: "poetry-plugin-export"
- name: Build project for distribution
run: poetry build
- name: Export requirements
run: poetry export --without-hashes -f requirements.txt --output dist/requirements.txt
- name: Install requirements
run: |
sudo apt-get install -y desktop-file-utils appstream-util
- name: Release
env:
GIT_USER: vzhd1701
GIT_EMAIL: [email protected]
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
FLATPAK_GIT_REPO: vzhd1701/gridplayer-flatpak
FLATHUB_GIT_REPO: flathub/com.vzhd1701.gridplayer
run: |
bash scripts/linux_meta/build.sh
bash scripts/flatpak/generate_dependencies.sh
bash scripts/flatpak/build_git.sh