Skip to content

Commit

Permalink
ci: don't fetch develop when running on develop
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Feb 13, 2025
1 parent 133018f commit 9e740c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
id: setup
run: |
git config --global --add safe.directory "$PWD"
git fetch origin develop:develop
if [ ${{ github.head_ref }} != "develop" ]; then
git fetch origin develop:develop
fi
BUILD_TARGET="${{ inputs.build-target }}"
source ./ci/dash/matrix.sh
echo "HOST=${HOST}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 9e740c5

Please sign in to comment.