Skip to content

Commit bff1603

Browse files
committed
clean up gh action
1 parent 781039c commit bff1603

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: .github/workflows/tests.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ jobs:
296296
type=raw,value=${{ needs.build_package.outputs.tag }}
297297
type=raw,value=${{ needs.build_package.outputs.branch }}
298298
299-
# Set up Docker daemon dependencies for building and publishing
300299
- uses: docker/login-action@v3
301300
with:
302301
username: locustbuild
@@ -306,8 +305,7 @@ jobs:
306305
- name: Set up Docker Buildx
307306
uses: docker/setup-buildx-action@v3
308307

309-
# Build and push Docker image
310-
- name: Build and push
308+
- name: Build and (optionally) push
311309
uses: docker/build-push-action@v6
312310
with:
313311
context: .
@@ -316,7 +314,6 @@ jobs:
316314
push: ${{ github.event_name != 'pull_request' }}
317315
tags: ${{ steps.docker_meta.outputs.tags }}
318316

319-
# Publish Python package
320317
- name: Publish prerelease version to PyPI
321318
uses: pypa/gh-action-pypi-publish@release/v1
322319
with:
@@ -325,7 +322,6 @@ jobs:
325322
skip-existing: true
326323

327324
# Publish UI lib
328-
# On commits to trunk
329325
- uses: borales/actions-yarn@v5
330326
name: Publish package on NPM
331327
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)