-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change default postgres version to build to REL_14_11
- Loading branch information
AdminCI
authored and
AdminCI
committed
Apr 3, 2024
1 parent
03e06e7
commit 5aee1a4
Showing
2 changed files
with
0 additions
and
65 deletions.
There are no files selected for viewing
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
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 }} | ||
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
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 | ||