Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
push: { branches: [master] }

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

permissions:
contents: write
id-token: write

jobs:
release:
name: Create Release
Expand Down Expand Up @@ -87,7 +91,7 @@ jobs:
cp `find target/release -type f -name "${{ matrix.extension_name }}*"` archive

# name of the package directory before packaging
package_dir=${{ matrix.extension_name }}-${{ github.ref_name }}-pg${{ matrix.postgres }}-${{ matrix.box.arch }}-linux-gnu
package_dir="${{ matrix.extension_name }}-${{ github.ref_name }}-pg${{ matrix.postgres }}-${{ matrix.box.arch }}-linux-gnu"

# Copy files into directory structure
mkdir -p ${package_dir}/usr/lib/postgresql/lib
Expand All @@ -110,7 +114,7 @@ jobs:
cd ../../../../../..

# Create install control file
extension_version=${{ github.ref_name }}
extension_version="${{ github.ref_name }}"
# strip the leading v
deb_version=${extension_version:1}

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
push: { branches: [master] }

permissions:
contents: read

jobs:
test:
name: Run tests
Expand Down
Loading