From 2b5f850079d07cfb0d3e0af9fee141cf2a9a4596 Mon Sep 17 00:00:00 2001 From: Christopher Schramm Date: Thu, 10 Feb 2022 09:07:01 +0100 Subject: [PATCH] Use Debian for release packages This brings a more recent automake that build configure scripts that work with Python 3.10. --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51e90bfa4..461e0be5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,8 @@ on: jobs: release: runs-on: ubuntu-20.04 + container: + image: buildpack-deps:bullseye-scm steps: - uses: actions/checkout@v2 - run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/}" @@ -17,12 +19,13 @@ jobs: notes="${notes//$'\r'/'%0D'}" echo ::set-output name=NOTES::$notes id: notes + shell: bash - run: '[ -n "${{ steps.notes.outputs.NOTES }}" ] || (echo "Failed to parse changelog" && exit 1)' - run: grep --quiet '^AC_INIT(\[blueman\], \[${{ steps.version.outputs.VERSION }}\]' configure.ac || (echo "Did not find expected verson in configure.ac" && exit 1) - run: "grep --quiet \"version: '${{ steps.version.outputs.VERSION }}'\" meson.build || (echo 'Did not find expected verson in meson.build' && exit 1)" - run: git archive --prefix="blueman-${{ steps.version.outputs.VERSION }}/" HEAD | tar x - - run: sudo apt-get update - - run: sudo apt-get install -y -qq --no-install-recommends autopoint + - run: apt-get update + - run: apt-get install -y -qq --no-install-recommends autopoint automake libtool pkg-config - run: NOCONFIGURE=1 ./autogen.sh working-directory: "blueman-${{ steps.version.outputs.VERSION }}" - run: tar cJf "blueman-${{ steps.version.outputs.VERSION }}.tar.xz" "blueman-${{ steps.version.outputs.VERSION }}"