This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
- name: Pixi download
|
||||
run: |
|
||||
if [ ! -f "outputs/pixi.log" ]; then
|
||||
if [ -f "outputs/pixi.log" ]; then
|
||||
head -n -1 outputs/pixi.log
|
||||
exit_code=$(tail -n 1 outputs/pixi.log)
|
||||
if [[ "$exit_code" == "Exit Code: 1" ]]; then
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
- name: Run tests and generate reports
|
||||
run: |
|
||||
if [ ! -f "outputs/test-ci.log" ]; then
|
||||
if [ -f "outputs/test-ci.log" ]; then
|
||||
head -n -1 outputs/test-ci.log
|
||||
exit_code=$(tail -n 1 outputs/test-ci.log)
|
||||
if [[ "$exit_code" == "Exit Code: 1" ]]; then
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
|
||||
- name: Prepare the push to wiki
|
||||
run: |
|
||||
if [ ! -f "outputs/wiki-clone.log" ]; then
|
||||
if [ -f "outputs/wiki-clone.log" ]; then
|
||||
head -n -1 outputs/wiki-clone.log
|
||||
exit_code=$(tail -n 1 outputs/wiki-clone.log)
|
||||
if [[ "$exit_code" == "Exit Code: 1" ]]; then
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
|
||||
- name: Commit to wiki
|
||||
run: |
|
||||
if [ ! -f "outputs/commit-push-wiki.log" ]; then
|
||||
if [ -f "outputs/commit-push-wiki.log" ]; then
|
||||
head -n -1 outputs/commit-push-wiki.log
|
||||
exit_code=$(tail -n 1 outputs/commit-push-wiki.log)
|
||||
if [[ "$exit_code" == "Exit Code: 1" ]]; then
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
|
||||
- name: Wiki report URLs
|
||||
run: |
|
||||
if [ ! -f "outputs/wiki-report-urls.log" ]; then
|
||||
if [ -f "outputs/wiki-report-urls.log" ]; then
|
||||
head -n -1 outputs/wiki-report-urls.log
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user