-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 975 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Publish Packages
on: workflow_dispatch
env:
om_ver_file: om_version
origen_ver_file: origen_version
jobs:
build_manylinux:
strategy:
fail-fast: false
matrix:
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS_FOR_RELEASE) }}
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Run Docker container
uses: addnab/docker-run-action@v3
with:
image: quay.io/pypa/manylinux2014_x86_64
options: |
--user root
--volume ${{ github.workspace }}:/tmp/o2
--env GIT_DIR=/tmp/o2
--env OM_VER_FILE=${{ env.om_ver_file }}
--env ORIGEN_VER_FILE=${{ env.origen_ver_file }}
--env RUST_VERSION=${{ fromJSON(vars.RUST_VERSION) }}
--env PYTHON_VERSION=${{ matrix.python-version }}
run: |
source /tmp/o2/.github/workflows/setup_manylinux.sh