Merge pull request #658 from kiwix/docker-trigger

This commit is contained in:
Matthieu Gautier 2023-11-17 13:23:28 +01:00 committed by GitHub
commit 2b6e02853d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -130,7 +130,7 @@ def select_build_targets(criteria):
print(build_order)
return build_order
raise "No definition match with current context."
raise ValueError("No definition match with current context.")
def get_platform_name():
from common import PLATFORM_TARGET, OS_NAME
@ -143,4 +143,4 @@ def get_platform_name():
name = row["platform_name"]
return name or None
raise "No definition match with current context."
raise ValueError("No definition match with current context.")

View File

@ -214,8 +214,7 @@ jobs:
needs: [Linux]
runs-on: ubuntu-22.04
env:
PLATFORM_TARGET: LINUX_DOCKER_TRIGGER
OS_NAME: LINUX_DOCKER_TRIGGER
PLATFORM_TARGET: native_static
steps:
- name: Checkout code
uses: actions/checkout@v3