Skip to content

Commit e231250

Browse files
committed
Build for Postgres 15.
1 parent e8f19dc commit e231250

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
run: env USE_DOCKER=1 POSTGRES_VERSION=13 ./build-and-test.sh
2424
- name: Test on PG14
2525
run: env USE_DOCKER=1 POSTGRES_VERSION=14 ./build-and-test.sh
26+
- name: Test on PG15
27+
run: env USE_DOCKER=1 POSTGRES_VERSION=15 ./build-and-test.sh
2628
- name: Build for PG11
2729
run: env POSTGRES_VERSION=11 ./docker-build-dist.sh
2830
- name: Build for PG12
@@ -31,6 +33,8 @@ jobs:
3133
run: env POSTGRES_VERSION=13 ./docker-build-dist.sh
3234
- name: Build for PG14
3335
run: env POSTGRES_VERSION=14 ./docker-build-dist.sh
36+
- name: Build for PG15
37+
run: env POSTGRES_VERSION=15 ./docker-build-dist.sh
3438
- name: Create Release
3539
id: create_release
3640
uses: actions/create-release@v1
@@ -77,3 +81,12 @@ jobs:
7781
asset_path: ./dist/postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg14.tar.gz
7882
asset_name: postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg14.tar.gz
7983
asset_content_type: application/gzip
84+
- name: Upload PG15 tarball
85+
uses: actions/upload-release-asset@v1
86+
env:
87+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88+
with:
89+
upload_url: ${{ steps.create_release.outputs.upload_url }}
90+
asset_path: ./dist/postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg15.tar.gz
91+
asset_name: postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg15.tar.gz
92+
asset_content_type: application/gzip

.github/workflows/tests-pg15 yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Tests on PG15
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
build:
8+
9+
runs-on: ubuntu-20.04
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Build and run tests in Docker
14+
run: env USE_DOCKER=1 POSTGRES_VERSION=15 ./build-and-test.sh

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
![Tests on PG12](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG12/badge.svg)
55
![Tests on PG13](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG13/badge.svg)
66
![Tests on PG14](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG14/badge.svg)
7+
![Tests on PG15](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG15/badge.svg)
78

89
Features:
910

0 commit comments

Comments
 (0)