Skip to content

Commit a6c82c9

Browse files
committed
remove broken conditional logic
1 parent e8ac51c commit a6c82c9

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/conan.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Test conan packages
22

33
on:
4-
# Run weekdays at 11:15pm UTC, and specify below to only run if there's been new commits
4+
# Run weekdays at 11:15pm UTC
55
schedule:
66
- cron: "15 11 * * 1-5"
77
workflow_dispatch:
@@ -18,17 +18,6 @@ jobs:
1818
- name: Checkout Code
1919
uses: actions/checkout@v4
2020

21-
- name: Get new commit count
22-
id: new_commit_count
23-
shell: bash
24-
run: echo "commit_count=$(git log --oneline --since '24 hours ago' | wc -l)" >> $GITHUB_OUTPUT
25-
26-
- name: Cancelling scheduled build with no new commits
27-
uses: andymckay/[email protected]
28-
if: |
29-
steps.new_commit_count.outputs.commit_count == '0' &&
30-
github.event_name == 'schedule'
31-
3221
build_macos:
3322
if: github.repository_owner == 'viamrobotics'
3423
needs: [prepare]

0 commit comments

Comments
 (0)