From c1ce9786fa03d760ea6f3fff8621ab2a8d4f5bc7 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 23 Jul 2025 17:17:30 +0200 Subject: [PATCH] Update .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index bed4cc86f..5c9662409 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -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