diff --git a/.github/workflows/generate_java_sources.yml b/.github/workflows/generate_java_sources.yml index d5894b4..4bae19e 100644 --- a/.github/workflows/generate_java_sources.yml +++ b/.github/workflows/generate_java_sources.yml @@ -20,7 +20,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 distribution: temurin - name: Set up Python diff --git a/.github/workflows/generate_php_sources.yml b/.github/workflows/generate_php_sources.yml index 7cb3b9a..abae5b6 100644 --- a/.github/workflows/generate_php_sources.yml +++ b/.github/workflows/generate_php_sources.yml @@ -21,7 +21,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 distribution: temurin - name: Set up Python diff --git a/.github/workflows/generate_python_sources.yml b/.github/workflows/generate_python_sources.yml index 1732648..ce03bce 100644 --- a/.github/workflows/generate_python_sources.yml +++ b/.github/workflows/generate_python_sources.yml @@ -21,7 +21,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 distribution: temurin - name: Set up Python diff --git a/.github/workflows/test_java.yml b/.github/workflows/test_java.yml index 7ff9848..9e1524b 100644 --- a/.github/workflows/test_java.yml +++ b/.github/workflows/test_java.yml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 distribution: temurin - name: Set up Python diff --git a/.github/workflows/test_php.yml b/.github/workflows/test_php.yml index 3ba895e..01e755b 100644 --- a/.github/workflows/test_php.yml +++ b/.github/workflows/test_php.yml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 distribution: temurin - name: Set up Python diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index dfec8fe..dcb6caf 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 distribution: temurin - name: Set up Python diff --git a/scripts/push_postman_collection.py b/scripts/push_postman_collection.py index f6e7b81..818902d 100755 --- a/scripts/push_postman_collection.py +++ b/scripts/push_postman_collection.py @@ -128,22 +128,22 @@ def main(): else: uid_to_update = collection_id_to_update_list[0] if create_flag == False: - update_collection(uid_to_update,collection_name_to_update,file) + update_collection(uid_to_update, collection_name_to_update, file) else: create_collection(collection_name_to_update, file) except OSError as err: print("File manipulation error:", err) - sys.exit(0) + sys.exit(1) except requests.exceptions.ConnectionError as err: print("Requests failure: e.g. DNS failure, refused connection", err) - sys.exit(0) + sys.exit(1) except requests.exceptions.HTTPError as err: print("Invalid HTTP response", err) - sys.exit(0) + sys.exit(1) except Exception as err: print("Generic error or a network error:", err) - sys.exit(0) + sys.exit(1)