Skip to content

Commit

Permalink
change default postgres version to build to REL_14_11
Browse files Browse the repository at this point in the history
  • Loading branch information
AdminCI authored and AdminCI committed Apr 3, 2024
1 parent 03e06e7 commit 5aee1a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 65 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/build-postgres.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +0,0 @@
name: build postgres on multiple platforms
run-name: ${{ github.actor }} is building postgres 🚀
on:
workflow_dispatch:
inputs:
tag:
description: "postgres tag to build in the format REL_<MAJOR>_<MINOR>"
required: true
default: REL_16_2 # DO NOT CHANGE THIS LINE. this default value will be overridden automatically
workflow_call:
inputs:
tag:
description: "postgres tag to build in the format REL_<MAJOR>_<MINOR>"
required: true
type: string
jobs:
build-osx:
runs-on: macos-latest
steps:
- run: echo build event.tag ${{ github.event.inputs.tag }}${{ inputs.tag }}
- name: Check out postgres code
uses: actions/checkout@v4
with:
repository: postgres/postgres
ref: refs/tags/${{ github.event.inputs.tag }}${{ inputs.tag }}
fetch-tags: true
- run: curl https://raw.githubusercontent.com/eitco/build-postgres/${{ github.ref_name }}/build.sh > build.sh && chmod +x build.sh
- run: ./build.sh "${{ github.event.inputs.tag }}${{ inputs.tag }}" osx
- uses: ncipollo/[email protected]
with:
name: "postgres-${{ github.event.inputs.tag }}${{ inputs.tag }}-osx"
body: "postgres ${{ github.event.inputs.tag }}${{ inputs.tag }} osx"
artifacts: "postgres-*-osx.tar.gz,COPYRIGHT"
tag: ${{ github.event.inputs.tag }}${{ inputs.tag }}-osx
commit: ${{ github.ref_name }}
build-linux-64:
runs-on: ubuntu-latest
steps:
- run: echo build event.tag ${{ github.event.inputs.tag }}${{ inputs.tag }}
- name: Check out postgres code
uses: actions/checkout@v4
with:
repository: postgres/postgres
ref: refs/tags/${{ github.event.inputs.tag }}${{ inputs.tag }}
fetch-tags: true
- run: curl https://raw.githubusercontent.com/eitco/build-postgres/${{ github.ref_name }}/build.sh > build.sh && chmod +x build.sh
- run: ./build.sh "${{ github.event.inputs.tag }}${{ inputs.tag }}" linux-64
- uses: ncipollo/[email protected]
with:
name: "postgres-${{ github.event.inputs.tag }}${{ inputs.tag }}-linux-64"
body: "postgres ${{ github.event.inputs.tag }}${{ inputs.tag }} linux-64"
artifacts: "postgres-*-linux-64.tar.gz,COPYRIGHT"
tag: ${{ github.event.inputs.tag }}${{ inputs.tag }}-linux-64
commit: ${{ github.ref_name }}
11 changes: 0 additions & 11 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
name: trigger postgres build on push
run-name: ${{ github.actor }} triggered build 🚀
on:
push:
branches:
- main
jobs:
call-build:
uses: ./.github/workflows/build-postgres.yaml
with:
tag: REL_16_2 # DO NOT CHANGE THIS LINE. this default value will be overridden automatically

0 comments on commit 5aee1a4

Please sign in to comment.