@@ -180,59 +180,6 @@ jobs:
180
180
- name : Run integration tests
181
181
run : npm run test:integration
182
182
183
- build :
184
- # Only build if the PR branch is local
185
- if : github.event.pull_request.head.repo.full_name == github.repository
186
- runs-on : ubuntu-latest
187
- strategy :
188
- matrix :
189
- python : ["3.9"]
190
- steps :
191
- - name : Checkout code
192
- uses : actions/checkout@v4
193
- with :
194
- fetch-depth : 0
195
- - name : Set up Python
196
- uses : actions/setup-python@v5
197
- with :
198
- python-version : ${{ matrix.python }}
199
- - name : Install dependencies
200
- run : pip install tox
201
- - name : Build the package
202
- run : |
203
- export GUIDELLM_BUILD_TYPE=dev
204
- export GUIDELLM_BUILD_ITERATION=${{ github.event.pull_request.number }}
205
- tox -e build
206
- - name : Upload build artifacts
207
- id : artifact-upload
208
- uses : actions/upload-artifact@v4
209
- with :
210
- name : build-artifacts
211
- path : dist/*
212
- compression-level : 6
213
- if-no-files-found : error
214
- retention-days : 30
215
- - name : Generate GitHub App token
216
- id : app-token
217
- uses : actions/create-github-app-token@v1
218
- with :
219
- app-id : ${{ secrets.GH_NM_REDHAT_AUTOMATION_APP_ID }}
220
- private-key : ${{ secrets.GH_NM_REDHAT_AUTOMATION_APP_PRIVATE_KEY }}
221
- - name : Comment Install instructions
222
- uses : actions/github-script@v7
223
- with :
224
- github-token : ${{ steps.app-token.outputs.token }}
225
- script : |
226
- github.rest.issues.createComment({
227
- issue_number: context.issue.number,
228
- owner: context.repo.owner,
229
- repo: context.repo.repo,
230
- body: `📦 **Build Artifacts Available**
231
- The build artifacts (\`.whl\` and \`.tar.gz\`) have been successfully generated and are available for download: ${{ steps.artifact-upload.outputs.artifact-url }}.
232
- They will be retained for **up to 30 days**.
233
- `
234
- })
235
-
236
183
ui-pr-preview :
237
184
needs : [ui-quality-checks, ui-precommit-checks, ui-unit-tests, ui-integration-tests]
238
185
permissions :
0 commit comments