fix: should push on tag (#247)

This commit is contained in:
bo0tzz
2025-07-05 22:13:21 +02:00
committed by GitHub
parent a050847fdf
commit 15b4ce85fc

View File

@@ -36,7 +36,7 @@ jobs:
- '.github/workflows/build-server-base.yml'
- name: Check if we should force jobs to run
id: should_force
run: echo "should_force=${{ steps.found_paths.outputs.workflow == 'true' || github.event_name == 'release' || github.ref_name == 'main' }}" >> "$GITHUB_OUTPUT"
run: echo "should_force=${{ steps.found_paths.outputs.workflow == 'true' || startsWith(github.ref, 'refs/tags') || github.ref_name == 'main' }}" >> "$GITHUB_OUTPUT"
build_and_push:
needs: pre-job