forked from opendatahub-io/ogx-distribution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
28 lines (26 loc) · 866 Bytes
/
Copy pathaction.yml
File metadata and controls
28 lines (26 loc) · 866 Bytes
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
name: Regenerate distribution artifacts
description: Run the build scripts that regenerate config, lockfiles, Containerfile, and verify secrets
inputs:
ogx-version:
description: 'OGX version to set (overrides OGX_VERSION from build.env)'
required: false
default: ''
working-directory:
description: 'Working directory for running build scripts'
required: false
default: '.'
runs:
using: "composite"
steps:
- name: Regenerate distribution artifacts
shell: bash
working-directory: ${{ inputs.working-directory }}
env:
OGX_VERSION_OVERRIDE: ${{ inputs.ogx-version }}
run: |
if [ -n "$OGX_VERSION_OVERRIDE" ]; then
export OGX_VERSION="$OGX_VERSION_OVERRIDE"
fi
uv run build/gen_config.py
uv run build/gen_lockfile.py
uv run build/gen_containerfile.py