diff --git a/.github/workflows/publish-deb.yml b/.github/workflows/publish-deb.yml index db80996..a6d23b4 100644 --- a/.github/workflows/publish-deb.yml +++ b/.github/workflows/publish-deb.yml @@ -15,7 +15,7 @@ jobs: # This workflow contains a single job called "build-and-release" build-and-release: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: language: [ 'python' ] @@ -23,6 +23,7 @@ jobs: permissions: contents: write packages: write + discussions: write # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -37,7 +38,8 @@ jobs: run: | sudo apt-get update -qq sudo apt install -y build-essential debhelper devscripts dh-python \ - gettext python3 python3-all python3-gi python3-setuptools python3-sphinx + desktop-file-utils gettext libglib2.0-bin libgtk-4-bin meson python3 \ + pybuild-plugin-pyproject python3-sphinx python3-sphinx-argparse - name: build-deb run: | @@ -50,15 +52,16 @@ jobs: run: echo "latesttag=$(git describe --tags --abbrev=0 || git rev-list --max-parents=0 ${{github.ref}})" >> $GITHUB_OUTPUT - name: Create Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: tag_name: ${{ steps.gettag.outputs.latesttag }} generate_release_notes: true + make_latest: true draft: false prerelease: false + discussion_category_name: Announcements files: | ../*.deb ../*.changes env: GITHUB_TOKEN: ${{ github.token }} - \ No newline at end of file