From 5c518abcdc3065175940fb50da2cfba518a5ab8c Mon Sep 17 00:00:00 2001 From: leafus Date: Sun, 29 Sep 2024 13:00:21 +0200 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6d6e585..48f6053 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,16 +18,6 @@ jobs: with: go-version: '1.23.1' - - name: Check if main.go was modified - id: check_main_go - run: | - git fetch origin main - if git diff --name-only HEAD origin/main | grep -q 'main.go'; then - echo "main_go_modified=true" >> $GITHUB_ENV - else - echo "main_go_modified=false" >> $GITHUB_ENV - fi - - name: Build Go binary for Linux if: env.main_go_modified == 'true' run: |