Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ on:
jobs:

linux:
name: "Ubuntu 20.04 + PostgreSQL ${{matrix.PGVER}}"
runs-on: ubuntu-20.04
name: "Ubuntu 24.04 + PostgreSQL ${{matrix.PGVER}}"
runs-on: ubuntu-24.04
strategy:
matrix:
PGVER: [10, 11, 12, 13, 14]
PGVER: [10, 11, 12, 13, 14, 15, 18]
steps:
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: "InstallDB"
run: |
echo "::group::apt-get-update"
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main ${{matrix.PGVER}}" \
| sudo tee /etc/apt/sources.list.d/pgdg.list
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc \
| sudo gpg --dearmor -o /usr/share/keyrings/postgresql-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/postgresql-keyring.gpg] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main ${{matrix.PGVER}}" \
| sudo tee /etc/apt/sources.list.d/pgdg.list
sudo -nH apt-get -q update
echo "::endgroup::"

Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Checkout code
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Build tarball
id: build
Expand All @@ -29,24 +29,9 @@ jobs:

- name: Create release
id: release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{github.ref}}
release_name: ${{github.event.repository.name}} v${{env.EXT_VERSION}}
name: ${{github.event.repository.name}} v${{env.EXT_VERSION}}
body_path: docs/notes/v${{env.EXT_VERSION}}.md
draft: false
prerelease: false

- name: Upload source
id: upload
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
upload_url: ${{steps.release.outputs.upload_url}}
asset_path: ${{env.TGZ}}
asset_name: ${{env.TGZ}}
asset_content_type: application/x-gzip
files: ${{env.TGZ}}