Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install toml loguru tox
- name: Set environment variables
run: |
echo "GUIDELLM_BUILD_TYPE=dev" >> $GITHUB_ENV
echo "GUIDELLM_BUILD_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
- name: Build the package
run: tox -e build
run: |
export GUIDELLM_BUILD_TYPE=dev
export GUIDELLM_BUILD_NUMBER=${{ github.event.pull_request.number }}
tox -e build
- name: Upload build artifacts
id: artifact-upload
uses: actions/upload-artifact@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,11 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install toml loguru tox
- name: Set environment variables
run: |
echo "GUIDELLM_BUILD_TYPE=nightly" >> $GITHUB_ENV
echo "GUIDELLM_BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
- name: Build the package
run: tox -e build
run: |
export GUIDELLM_BUILD_TYPE=nightly
export GUIDELLM_BUILD_NUMBER=${{ github.run_number }}
tox -e build
- name: Find wheel artifact
id: find-asset-whl
run: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install toml loguru tox
- name: Set environment variables
run: |
echo "GUIDELLM_BUILD_TYPE=release_candidate" >> $GITHUB_ENV
echo "GUIDELLM_BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
- name: Build the package
run: tox -e build
run: |
export GUIDELLM_BUILD_TYPE=release_candidate
export GUIDELLM_BUILD_NUMBER=${{ github.run_number }}
tox -e build
- name: Upload build artifacts
id: artifact-upload
uses: actions/upload-artifact@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install toml loguru tox
- name: Set environment variables
run: |
echo "GUIDELLM_BUILD_TYPE=release" >> $GITHUB_ENV
echo "GUIDELLM_BUILD_NUMBER=${{ github.run_number }}" >> $GITHUB_ENV
- name: Build the package
run: tox -e build
run: |
export GUIDELLM_BUILD_TYPE=release
export GUIDELLM_BUILD_NUMBER=${{ github.run_number }}
tox -e build
- name: Upload build artifacts
id: artifact-upload
uses: actions/upload-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ deps =
wheel
loguru
toml
setenv =
GUIDELLM_BUILD_TYPE = {env:GUIDELLM_BUILD_TYPE:dev}
GUIDELLM_BUILD_NUMBER = {env:GUIDELLM_BUILD_NUMBER:0}
commands =
python utils/inject_build_props.py
python -m build
Expand Down