mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +01:00
workflow: only build docker in the pypi buildstep.
This commit is contained in:
parent
d5fecf3682
commit
09f69b158a
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
@ -90,6 +90,7 @@ jobs:
|
||||
run: python scripts/cibuild.py
|
||||
env:
|
||||
CIBUILD: "yes"
|
||||
BUILD_DOCKER: "no"
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
OS: "ubuntu-latest"
|
||||
@ -143,6 +144,7 @@ jobs:
|
||||
run: python scripts/cibuild.py
|
||||
env:
|
||||
CIBUILD: "yes"
|
||||
BUILD_DOCKER: "no"
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
OS: "windows-latest"
|
||||
@ -182,6 +184,7 @@ jobs:
|
||||
run: python scripts/cibuild.py
|
||||
env:
|
||||
CIBUILD: "yes"
|
||||
BUILD_DOCKER: "yes"
|
||||
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
|
@ -105,7 +105,7 @@ if not tag() and branch() != "master":
|
||||
if os.environ.get("CIBUILD") != "yes":
|
||||
sys.exit(0)
|
||||
|
||||
if os.environ.get("OS").startswith("ubuntu"):
|
||||
if os.environ.get("OS").startswith("ubuntu") and os.environ.get("BUILD_DOCKER") == "yes":
|
||||
build_docker()
|
||||
|
||||
aws_upload()
|
||||
|
Loading…
Reference in New Issue
Block a user