--- name: Build and publish Debian package on: ["create"] jobs: publish-forgejo: runs-on: docker container: image: docker.io/brenard/debian-python-deb:latest steps: - name: Check out repository code uses: actions/checkout@v4 with: fetch-depth: 0 - name: Create the release run: | mkdir release mv check_pip_upgrade release/ md5sum release/* > md5sum.txt sha512sum release/* > sha512sum.txt mv md5sum.txt sha512sum.txt release/ - name: Generate release notes id: generate-release-notes shell: bash run: | gitdch -R release_notes.md -n check-pip-upgrade -o /dev/null { echo 'release_note<> "$GITHUB_OUTPUT" - name: Publish release on Forgejo uses: actions/forgejo-release@v1 with: direction: upload url: https://gitea.zionetrix.net token: ${{ secrets.forgejo_token }} release-dir: release release-notes: ${{ steps.generate-release-notes.outputs.release_note }}