mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +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
|
run: python scripts/cibuild.py
|
||||||
env:
|
env:
|
||||||
CIBUILD: "yes"
|
CIBUILD: "yes"
|
||||||
|
BUILD_DOCKER: "no"
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
OS: "ubuntu-latest"
|
OS: "ubuntu-latest"
|
||||||
@ -143,6 +144,7 @@ jobs:
|
|||||||
run: python scripts/cibuild.py
|
run: python scripts/cibuild.py
|
||||||
env:
|
env:
|
||||||
CIBUILD: "yes"
|
CIBUILD: "yes"
|
||||||
|
BUILD_DOCKER: "no"
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
OS: "windows-latest"
|
OS: "windows-latest"
|
||||||
@ -182,6 +184,7 @@ jobs:
|
|||||||
run: python scripts/cibuild.py
|
run: python scripts/cibuild.py
|
||||||
env:
|
env:
|
||||||
CIBUILD: "yes"
|
CIBUILD: "yes"
|
||||||
|
BUILD_DOCKER: "yes"
|
||||||
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
||||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
@ -105,7 +105,7 @@ if not tag() and branch() != "master":
|
|||||||
if os.environ.get("CIBUILD") != "yes":
|
if os.environ.get("CIBUILD") != "yes":
|
||||||
sys.exit(0)
|
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()
|
build_docker()
|
||||||
|
|
||||||
aws_upload()
|
aws_upload()
|
||||||
|
Loading…
Reference in New Issue
Block a user