Update workflow to build without updates for unscheduled triggers
Some checks failed
Build and Patch Releases / check-latest-tag (push) Successful in 2s
Build and Patch Releases / build (push) Failing after 14s

This commit is contained in:
Sean Greenawalt 2025-09-19 18:44:57 -04:00
commit 8906caa083

View file

@ -17,7 +17,7 @@ jobs:
update_available: ${{ steps.check.outputs.update_available }} update_available: ${{ steps.check.outputs.update_available }}
latest_tag: ${{ steps.get_tag.outputs.latest_tag }} latest_tag: ${{ steps.get_tag.outputs.latest_tag }}
steps: steps:
- name: Clone Stirling-PDF Repository - name: Get Stirling-PDF Repository latest tag
id: get_tag id: get_tag
run: | run: |
latest_tag=$(curl -s https://api.github.com/repos/Stirling-Tools/Stirling-PDF/tags | jq -r '.[0].name') latest_tag=$(curl -s https://api.github.com/repos/Stirling-Tools/Stirling-PDF/tags | jq -r '.[0].name')
@ -37,7 +37,7 @@ jobs:
build: build:
needs: [check-latest-tag] needs: [check-latest-tag]
if: needs.check-latest-tag.outputs.update_available == 'false' if: needs.check-latest-tag.outputs.update_available == 'false' || github.event_name != 'schedule'
runs-on: docker runs-on: docker
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04