File tree Expand file tree Collapse file tree 5 files changed +19
-20
lines changed Expand file tree Collapse file tree 5 files changed +19
-20
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,11 @@ jobs:
9898 python-version : ${{ matrix.python }}
9999 - name : Install dependencies
100100 run : pip install toml loguru tox
101- - name : Set environment variables
102- run : |
103- echo "GUIDELLM_BUILD_TYPE=dev" >> $GITHUB_ENV
104- echo "GUIDELLM_BUILD_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
105101 - name : Build the package
106- run : tox -e build
102+ run : |
103+ export GUIDELLM_BUILD_TYPE=dev
104+ export GUIDELLM_BUILD_NUMBER=${{ github.event.pull_request.number }}
105+ tox -e build
107106 - name : Upload build artifacts
108107 id : artifact-upload
109108 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -67,12 +67,11 @@ jobs:
6767 python-version : ${{ matrix.python }}
6868 - name : Install dependencies
6969 run : pip install toml loguru tox
70- - name : Set environment variables
71- run : |
72- echo "GUIDELLM_BUILD_TYPE=nightly" >> $GITHUB_ENV
73- echo "GUIDELLM_BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
7470 - name : Build the package
75- run : tox -e build
71+ run : |
72+ export GUIDELLM_BUILD_TYPE=nightly
73+ export GUIDELLM_BUILD_NUMBER=${{ github.run_number }}
74+ tox -e build
7675 - name : Find wheel artifact
7776 id : find-asset-whl
7877 run : |
Original file line number Diff line number Diff line change @@ -71,12 +71,11 @@ jobs:
7171 python-version : ${{ matrix.python }}
7272 - name : Install dependencies
7373 run : pip install toml loguru tox
74- - name : Set environment variables
75- run : |
76- echo "GUIDELLM_BUILD_TYPE=release_candidate" >> $GITHUB_ENV
77- echo "GUIDELLM_BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
7874 - name : Build the package
79- run : tox -e build
75+ run : |
76+ export GUIDELLM_BUILD_TYPE=release_candidate
77+ export GUIDELLM_BUILD_NUMBER=${{ github.run_number }}
78+ tox -e build
8079 - name : Upload build artifacts
8180 id : artifact-upload
8281 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -19,12 +19,11 @@ jobs:
1919 python-version : ${{ matrix.python }}
2020 - name : Install dependencies
2121 run : pip install toml loguru tox
22- - name : Set environment variables
23- run : |
24- echo "GUIDELLM_BUILD_TYPE=release" >> $GITHUB_ENV
25- echo "GUIDELLM_BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
2622 - name : Build the package
27- run : tox -e build
23+ run : |
24+ export GUIDELLM_BUILD_TYPE=release
25+ export GUIDELLM_BUILD_NUMBER=${{ github.run_number }}
26+ tox -e build
2827 - name : Upload build artifacts
2928 id : artifact-upload
3029 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 6969 wheel
7070 loguru
7171 toml
72+ setenv =
73+ GUIDELLM_BUILD_TYPE = {env:GUIDELLM_BUILD_TYPE:dev}
74+ GUIDELLM_BUILD_NUMBER = {env:GUIDELLM_BUILD_NUMBER:0}
7275commands =
7376 python utils/inject_build_props.py
7477 python -m build
You can’t perform that action at this time.
0 commit comments