Ubuntu PostgresML Python package #17
This file contains hidden or 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: Ubuntu PostgresML Python package | |
on: | |
workflow_dispatch: | |
inputs: | |
packageVersion: | |
default: "2.10.0" | |
jobs: | |
postgresml-python: | |
strategy: | |
fail-fast: false # Let the other job finish | |
matrix: | |
include: | |
# Ubuntu 24.04 LTS (Noble) | |
- os: "buildjet-4vcpu-ubuntu-2404" | |
ubuntu_version: "noble" | |
arch: "amd64" | |
- os: "buildjet-8vcpu-ubuntu-2404-arm" | |
ubuntu_version: "noble" | |
arch: "arm64" | |
# Ubuntu 22.04 LTS (Jammy) | |
- os: "buildjet-4vcpu-ubuntu-2204" | |
ubuntu_version: "jammy" | |
arch: "amd64" | |
- os: "buildjet-8vcpu-ubuntu-2204-arm" | |
ubuntu_version: "jammy" | |
arch: "arm64" | |
# Ubuntu 20.04 LTS (Focal) - Consider removing after April 2025 | |
- os: "buildjet-4vcpu-ubuntu-2004" | |
ubuntu_version: "focal" | |
arch: "amd64" | |
- os: "buildjet-8vcpu-ubuntu-2004-arm" | |
ubuntu_version: "focal" | |
arch: "arm64" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and release package | |
env: | |
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }} | |
run: | | |
bash packages/postgresml-python/release.sh ${{ inputs.packageVersion }} |