File tree Expand file tree Collapse file tree 6 files changed +16
-6
lines changed Expand file tree Collapse file tree 6 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 10
10
# Bind working directory instead of copying (faster for development)
11
11
--bind
12
12
13
- # Cache action downloads for faster subsequent runs
14
- --action-cache-path ~/.cache/act
13
+ # Don't reuse actions to avoid caching issues
14
+ --action-offline-mode=false
15
15
16
16
# Set default actor name
17
17
--actor nektos/act
Original file line number Diff line number Diff line change 1
1
instruction.md
2
- target /
2
+ target /
3
+
4
+ ~ /
Original file line number Diff line number Diff line change @@ -50,13 +50,18 @@ run_job() {
50
50
local description=" $2 "
51
51
52
52
print_status " Testing: $description "
53
- echo " Command: act push --job $job_name --container-architecture linux/amd64 "
53
+ echo " Command: act push --job $job_name "
54
54
echo " "
55
55
56
- if act push --job " $job_name " --container-architecture linux/amd64; then
56
+ # Try running the job
57
+ if act push --job " $job_name " ; then
57
58
print_success " $description completed successfully!"
58
59
else
59
- print_error " $description failed!"
60
+ print_warning " $description failed with act. This might be due to action caching issues."
61
+ print_status " Common solutions:"
62
+ echo " 1. Clear act cache: rm -rf ~/.cache/act"
63
+ echo " 2. Use GitHub Actions directly for full testing"
64
+ echo " 3. Use act with --action-offline-mode flag"
60
65
return 1
61
66
fi
62
67
echo " "
Original file line number Diff line number Diff line change
1
+ Subproject commit 9d47c6ad4b02e050fd481d890b2ea34778fd09d6
Original file line number Diff line number Diff line change
1
+ Subproject commit b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
Original file line number Diff line number Diff line change
1
+ Subproject commit 4305c38b25d97ef35a8ad1f985ccf2d2242004f2
You can’t perform that action at this time.
0 commit comments