Skip to content

Commit f06d540

Browse files
committed
Add version for tilegym wheels, update reusable workflow
1 parent 77c864e commit f06d540

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/build-wheel.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ on:
5151
required: false
5252
type: string
5353
default: ''
54+
pre-build-script:
55+
description: 'Optional path to a script (relative to repo root) to run before building the wheel (e.g. copy deps). Run with: python <path>.'
56+
required: false
57+
type: string
58+
default: ''
5459
outputs:
5560
artifact-name:
5661
description: 'Name of the uploaded wheel artifact (base name, without version suffix)'
@@ -77,6 +82,10 @@ jobs:
7782
with:
7883
python-version: ${{ matrix.python-version }}
7984

85+
- name: Run pre-build script
86+
if: ${{ inputs.pre-build-script != '' }}
87+
run: python ${{ inputs.pre-build-script }}
88+
8089
- name: Build wheel
8190
run: |
8291
pip install build

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setuptools.setup(
1313
name="tilegym",
14-
version="0.0.0",
14+
version="1.0.0",
1515
author="NVIDIA Corporation",
1616
description="TileGym",
1717
long_description=README,

0 commit comments

Comments
 (0)