ci: added autorelease thx to @xpamych
All checks were successful
Code and build check / Check code (push) Successful in 1m25s
Code and build check / Build with uv (push) Successful in 47s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-02 14:03:44 +05:00
parent 8547817282
commit 5bfd23995c
3 changed files with 31 additions and 3 deletions

View File

@ -2,12 +2,16 @@ name: Build AppImage, Arch and Fedora Packages
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
# Common version, will be used for tagging the release
VERSION: 0.1.1
VERSION: v0.1.1
PKGDEST: "/tmp/portprotonqt"
PACKAGE: "portprotonqt"
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
jobs:
build-appimage:
@ -130,3 +134,27 @@ jobs:
with:
name: PortProtonQt-RPM-Fedora-${{ matrix.fedora_version }}
path: /home/rpmbuild/RPMS/**/*.rpm
release:
name: Create and Publish Release
needs: [build-appimage, build-arch, build-fedora]
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: https://gitea.com/actions/download-artifact@v4
with:
path: release/
- name: Get Changes between Tags
id: changes
uses: https://github.com/simbo/changes-between-tags-action@v1
- name: Release
uses: https://gitea.com/actions/gitea-release-action@v1
with:
body: ${{ steps.changes.outputs.changes }}
token: ${{ env.GITEA_TOKEN }}
tag_name: ${{ env.VERSION }}
prerelease: true
files: release/**/*
sha256sum: true