Get Postgres #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test1 | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/postgres-dev/ubuntu-22.04:1.0 | |
env: | |
PG_BRANCH: REL_14_STABLE | |
steps: | |
- name: Get Postgres sources | |
uses: actions/checkout@v3 | |
with: | |
repository: postgres/postgres | |
# ref: ${{ env.PG_BRANCH }} | |
ref: REL_14_STABLE | |
path: postgres | |
- name: Get Ptrack sources | |
uses: actions/checkout@v3 | |
with: | |
path: ptrack | |
- name: Apply ptrack patch | |
run: | | |
echo var=${PG_BRANCH} | |
git apply --verbose --3way patches/${PG_BRANCH}-ptrack-core.diff | |
working-directory: ptrack |