DEVOPS_PROBLEMS_LIB Telegram 689
Что выведет этот GitHub Actions workflow?

name: Test Job

on:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set var
run: echo "RESULT=ok" >> $GITHUB_ENV

- name: Check var
run: |
if [ "$RESULT" == "ok" ]; then
echo "Success";
else
echo "Fail";
fi

👾 — Success
👍 — Fail
🥰 — Ошибка выполнения скрипта
— Переменная не найдена, но пайплайн не упадет

Библиотека задач по DevOps
Please open Telegram to view this post
VIEW IN TELEGRAM



tgoop.com/devops_problems_lib/689
Create:
Last Update:

Что выведет этот GitHub Actions workflow?

name: Test Job

on:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set var
run: echo "RESULT=ok" >> $GITHUB_ENV

- name: Check var
run: |
if [ "$RESULT" == "ok" ]; then
echo "Success";
else
echo "Fail";
fi

👾 — Success
👍 — Fail
🥰 — Ошибка выполнения скрипта
— Переменная не найдена, но пайплайн не упадет

Библиотека задач по DevOps

BY Библиотека задач по DevOps | тесты, код, задания


Share with your friend now:
tgoop.com/devops_problems_lib/689

View MORE
Open in Telegram


Telegram News

Date: |

Matt Hussey, editorial director of NEAR Protocol (and former editor-in-chief of Decrypt) responded to the news of the Telegram group with “#meIRL.” Hui said the time period and nature of some offences “overlapped” and thus their prison terms could be served concurrently. The judge ordered Ng to be jailed for a total of six years and six months. Don’t publish new content at nighttime. Since not all users disable notifications for the night, you risk inadvertently disturbing them. A vandalised bank during the 2019 protest. File photo: May James/HKFP. Ng was convicted in April for conspiracy to incite a riot, public nuisance, arson, criminal damage, manufacturing of explosives, administering poison and wounding with intent to do grievous bodily harm between October 2019 and June 2020.
from us


Telegram Библиотека задач по DevOps | тесты, код, задания
FROM American