diff --git a/.github/workflows/debuild.yml b/.github/workflows/debuild.yml new file mode 100644 index 0000000..38b3857 --- /dev/null +++ b/.github/workflows/debuild.yml @@ -0,0 +1,21 @@ +name: Debuild Release +on: + pull_request: + branches: [main, master] +jobs: + debuild: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + env: + DEBIAN_FRONTEND: noninteractiv + run: | + sudo apt-get update + sudo apt-get install -qy postgresql-server-dev-all equivs devscripts debmake + - uses: actions/checkout@v2 + - name: Build unsigned package + run: debmake -t -i "debuild -i -uc -us" + - uses: actions/upload-artifact@v3 + with: + name: debian + path: ../postgresql-*pg-influx*.{ddeb,deb,dsc,buildinfo,changes}