Skip to content

Commit 56a2a7a

Browse files
committed
Test on Postgres 17 and use softprops/action-gh-release
1 parent 222eae5 commit 56a2a7a

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
build:
1010
strategy:
1111
matrix:
12-
pg: [16, 15, 14, 13, 12, 11, 10, 9.6, 9.5, 9.4, 9.3, 9.2]
12+
pg: [17, 16, 15, 14, 13, 12, 11, 10, 9.6, 9.5, 9.4, 9.3, 9.2]
1313
name: 🐘 PostgreSQL ${{ matrix.pg }}
1414
runs-on: ubuntu-latest
1515
container: pgxn/pgxn-tools
1616
steps:
1717
- run: pg-start ${{ matrix.pg }}
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- run: pg-build-test

.github/workflows/release.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,9 @@ jobs:
2222
- name: Generate Release Changes
2323
run: make latest-changes.md
2424
- name: Create GitHub Release
25-
id: release
26-
uses: actions/create-release@v1
25+
uses: softprops/action-gh-release@v2
2726
with:
28-
tag_name: ${{ github.ref }}
29-
release_name: Release ${{ github.ref }}
27+
name: "Release ${{ github.ref }}"
3028
body_path: latest-changes.md
31-
- name: Upload Release Asset
32-
uses: actions/upload-release-asset@v1
33-
with:
34-
upload_url: ${{ steps.release.outputs.upload_url }}
35-
asset_path: ./${{ steps.bundle.outputs.bundle }}
36-
asset_name: ${{ steps.bundle.outputs.bundle }}
37-
asset_content_type: application/zip
29+
files: ${{ steps.bundle.outputs.bundle }}
30+
if: matrix.toolchain == 'stable' && startsWith( github.ref, 'refs/tags/v' )

0 commit comments

Comments
 (0)