From 772dac681e6fb6ef2b98ff9711346ac979aff6f3 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 12 Jun 2026 15:03:55 -0700 Subject: [PATCH] run everything on tag pushes --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 357bfb8..a39be09 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,11 +44,12 @@ jobs: # We rebuild everything if any of these conditions hold: # * We are on main + # * The run was triggered by a tag # * Changes are made to github workflows # * A cargo-workspace file changed (lockfile or .cargo), as that could affect any crate anywhere # * Something from the script or dist folder changed (could be gated to installer, but some scripts like build_wpa_supplicant are part of the build process) # * #build-all was used by the user to explicitly ask for this - if [ ${GITHUB_REF} = 'refs/heads/main' ] || git diff --name-only $lcommit..HEAD | grep -qe ^.github/workflows/ -e ^.cargo -e '^Cargo\.lock$' -e '^Cargo\.toml$' -e ^dist/ -e ^scripts/ || git log -1 --format='%s %b' | grep -qF '#build-all' + if [ ${GITHUB_REF} = 'refs/heads/main' ] || [ ${GITHUB_REF_TYPE} = 'tag' ] || git diff --name-only $lcommit..HEAD | grep -qe ^.github/workflows/ -e ^.cargo -e '^Cargo\.lock$' -e '^Cargo\.toml$' -e ^dist/ -e ^scripts/ || git log -1 --format='%s %b' | grep -qF '#build-all' then echo "building everything" echo code_count=forced >> "$GITHUB_OUTPUT"