# SPDX-FileCopyrightText: 2026 Christian Tosta # SPDX-License-Identifier: GPL-2.0-or-later name: Publish release on: workflow_call jobs: publish: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Get version uses: actions/download-artifact@v4 with: name: VERSION - name: Set version run: echo "VERSION=$(cat VERSION | xargs)" >> "$GITHUB_ENV" - name: Download artifacts uses: actions/download-artifact@v4 with: pattern: pyenv-* merge-multiple: true - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: | *.deb *.rpm