Skip to content

Commit 124f9d5

Browse files
authored
update last commit action and fix typo (#317)
1 parent 5013f8e commit 124f9d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/conan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ jobs:
2828
- name: Get last successful commit
2929
if: github.event_name == 'schedule'
3030
id: last_successful_commit
31-
uses: nrwl/last-successful-commit-action@v1
31+
uses: tylermilner/last-successful-commit-hash-action@v1
3232
with:
33-
branch: ${{ steps.git_info.outputs.current_branch }}
34-
workflow_id: conan.yml
33+
branch: main
34+
workflow-id: conan.yml
3535
- name: Cancel scheduled build with no new commits
36-
uses: nrwl/last-successful-commit-action@v1
36+
uses: andymckay/cancel-action@0.2
3737
if: |
3838
github.event_name == 'schedule' &&
39-
steps.git_info.outputs.current_commit == steps.last_successful_commit.outputs.commit_hash
39+
steps.git_info.outputs.current_commit == steps.last_successful_commit.outputs.commit-hash
4040
4141
build_macos:
4242
if: github.repository_owner == 'viamrobotics'

0 commit comments

Comments
 (0)