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 1010# Bind working directory instead of copying (faster for development)
1111--bind
1212
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
1515
1616# Set default actor name
1717--actor nektos/act
Original file line number Diff line number Diff line change 11instruction.md
2- target /
2+ target /
3+
4+ ~ /
Original file line number Diff line number Diff line change @@ -50,13 +50,18 @@ run_job() {
5050 local description=" $2 "
5151
5252 print_status " Testing: $description "
53- echo " Command: act push --job $job_name --container-architecture linux/amd64 "
53+ echo " Command: act push --job $job_name "
5454 echo " "
5555
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
5758 print_success " $description completed successfully!"
5859 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"
6065 return 1
6166 fi
6267 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