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:
98
98
python-version : ${{ matrix.python }}
99
99
- name : Install dependencies
100
100
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
105
101
- 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
107
106
- name : Upload build artifacts
108
107
id : artifact-upload
109
108
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -67,12 +67,11 @@ jobs:
67
67
python-version : ${{ matrix.python }}
68
68
- name : Install dependencies
69
69
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
74
70
- 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
76
75
- name : Find wheel artifact
77
76
id : find-asset-whl
78
77
run : |
Original file line number Diff line number Diff line change @@ -71,12 +71,11 @@ jobs:
71
71
python-version : ${{ matrix.python }}
72
72
- name : Install dependencies
73
73
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
78
74
- 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
80
79
- name : Upload build artifacts
81
80
id : artifact-upload
82
81
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -19,12 +19,11 @@ jobs:
19
19
python-version : ${{ matrix.python }}
20
20
- name : Install dependencies
21
21
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
26
22
- 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
28
27
- name : Upload build artifacts
29
28
id : artifact-upload
30
29
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 69
69
wheel
70
70
loguru
71
71
toml
72
+ setenv =
73
+ GUIDELLM_BUILD_TYPE = {env:GUIDELLM_BUILD_TYPE:dev}
74
+ GUIDELLM_BUILD_NUMBER = {env:GUIDELLM_BUILD_NUMBER:0}
72
75
commands =
73
76
python utils/inject_build_props.py
74
77
python -m build
You can’t perform that action at this time.
0 commit comments