From 6daecb65fdd526f61c29f4c76b7fd39f9c3e6572 Mon Sep 17 00:00:00 2001 From: deggja Date: Fri, 4 Oct 2024 23:04:49 +0200 Subject: [PATCH] ci: remove debug and move pull Signed-off-by: deggja --- .github/workflows/homebrew.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 2cb408d..3a63eb4 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -64,10 +64,11 @@ jobs: SHA=$(sha256sum temp/netfetch_linux_amd64.tar.gz | awk '{print $1}') echo "LINUX_SHA256=$SHA" >> $GITHUB_ENV - - name: Debug - Print SHA256 Variables + - name: Fetch Latest Changes from Main run: | - echo "MACOS_SHA256: $MACOS_SHA256" - echo "LINUX_SHA256: $LINUX_SHA256" + git fetch origin main + git checkout main + git pull origin main - name: Update Homebrew Formula run: | @@ -80,12 +81,6 @@ jobs: - name: Remove temp directory run: rm -rf temp - - name: Fetch Latest Changes from Main - run: | - git fetch origin main - git checkout main - git pull origin main - - name: Commit and Push changes uses: stefanzweifel/git-auto-commit-action@v5 with: