티스토리 뷰
728x90
jobs:
build:
runs-on: ubuntu-latest
env:
DIR: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: ./sh/install.sh
working-directory: ${{ env.DIR }}
- id: app
run: |
python3 app.py
status=$?
echo "status=${status}" >> "$GITHUB_OUTPUT"
working-directory: ${{ env.DIR }}
- run: exit ${{ steps.app.outputs.status }}
Is there a way to log error responses from Github Actions?
I am trying to create a bug tracker that allows me to record the error messages of the python script I run. Here is my YAML file at the moment: name: Bug Tracker #Controls when the workflow will ...
stackoverflow.com
https://unix.stackexchange.com/questions/207957/assigning-exit-code-to-a-shell-local-variable
Assigning exit code to a shell local variable
#!/bin/bash function0() { local t1=$(exit 1) echo $t1 } function0 echo prints empty value. I expected: 1 Why doesn't t1 variable get assigned the exit command's return value - 1?
unix.stackexchange.com
728x90
'공부' 카테고리의 다른 글
[python] flask app builder url_for (https -> http) (0) | 2023.08.27 |
---|---|
[sh] shell internal variables (0) | 2023.08.27 |
[python] Popen defunct (zombie) process code fixed (0) | 2023.08.27 |
[sh] kill defunct process (zombie) (0) | 2023.08.27 |
[sh] install crontab by sh (0) | 2023.08.27 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 모델y
- wlw
- 테슬라 리퍼럴 코드 생성
- Bot
- 개리마커스
- 김달
- 유투브
- 테슬라
- 인스타그램
- Kluge
- 메디파크 내과 전문의 의학박사 김영수
- 어떻게 능력을 보여줄 것인가?
- 테슬라 추천
- 테슬라 레퍼럴
- 레퍼럴
- 테슬라 리퍼럴 코드 혜택
- 연애학개론
- 테슬라 레퍼럴 적용 확인
- follower
- 책그림
- 팔로워 수 세기
- 클루지
- 테슬라 레퍼럴 코드 확인
- 테슬라 리퍼럴 코드
- 할인
- 테슬라 크레딧 사용
- 모델 Y 레퍼럴
- COUNT
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함