Skip to content

Commit ea3318d

Browse files
committed
fix
1 parent 564f3ce commit ea3318d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
jobs:
99
cancel_previous:
10-
if: ${{ !env.ACT }}
10+
if: ${{ github.event_name != 'push' }}
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: styfle/cancel-workflow-action@0.12.1

scripts/act-ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ done
2020
CMD=(act)
2121
CMD+=(--pull=false)
2222
CMD+=(--platform "${PLATFORM}")
23+
CMD+=(--input ACT=true)
2324
if [[ -n "$JOB" ]]; then
2425
CMD+=(--job "$JOB")
2526
fi

0 commit comments

Comments
 (0)