PGXN integration (#470)

* Update PGXN META.json

* Temorary disable all workflows

* Add PGXN release workflow draft

* Add pull request trigger

* Install dependencies

* Add sudo

* More sudo

* Try older ubuntu version

* Try

* Once again

* Update PGXN workflow

* Revert "Temorary disable all workflows"

This reverts commit 8d15520a51.

* Use ubunut 22.04
This commit is contained in:
Artem Gavrilov
2024-07-11 16:41:03 +02:00
committed by GitHub
parent 74d98475a8
commit d83d202b9c
2 changed files with 34 additions and 4 deletions

29
.github/workflows/pgxn-release.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: PGXN
on:
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
type: string
jobs:
release:
name: Release
runs-on: ubuntu-22.04
container: pgxn/pgxn-tools
steps:
- name: Validate version tag
run: '[[ ${{ inputs.version }} =~ ^[0-9]+.[0-9]+.[0-9]+ ]]'
- name: Check out
uses: actions/checkout@v4
with:
ref: '${{ inputs.version }}'
- name: Bundle
id: bundle
run: pgxn-bundle
# - name: Upload
# env:
# PGXN_USERNAME: percona
# PGXN_PASSWORD: ${{ secrets.PGXN_PERCONA }}
# run: pgxn-release