Skip to content

Create postgresql binaries #20

Create postgresql binaries

Create postgresql binaries #20

name: Create postgresql binaries
on:
workflow_dispatch:
inputs:
pgVersion:
description: "The version of postgres you would like to build"
required: true
type: string
jobs:
create-postgres-binaries:
runs-on: ubuntu-latest
environment: binaries
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Build postgresql binaries on Heroku Stacks
run: |
cd support
./build-postgresql "$PG_VERSION"
env:
PG_VERSION: ${{ github.event.inputs.pgVersion }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- run: echo "🍏 This job's status is ${{ job.status }}."