forked from github-such-software/hash-wallet
dev #24
Reference in New Issue
Block a user
Delete Branch "github-such-software/hash-wallet:dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue Number (if Applicable): Fixes #
Description
Please include a summary of the changes and which issue is fixed / feature is added.
Pull Request - Checklist
Mac runner spawns each job in a Docker container (via Docker Desktop). The container has its own /etc/hosts and DNS — the host's hosts entries don't propagate. DNS for git.such.software resolves to the public IP, the container can't NAT-hairpin back to its own WAN IP, ECONNREFUSED. actions/upload-artifact is doubly silly when the runner IS the Gitea server. Copy the .zip to $GITHUB_WORKSPACE/dist/ instead. That dir is mounted from the host, so it persists at: /Users/such-git/.cache/act/<runner-id>/hostexecutor/dist/ Find latest: find /Users/such-git/.cache/act -name 'hash_wallet_ios_sim_*.zip' -exec ls -lt {} + 2>/dev/null | head Step also echoes the exact path + a find command in the build log.The Mac runner doesn't honor changes to the host's /etc/hosts (whether because of act_runner sandboxing, container isolation, or DNS caching). Instead of fighting that, override /etc/hosts INSIDE the runner's job environment, right before the upload step. Resolution priority: 1. host.docker.internal — magic name in Docker Desktop containers that resolves to the Mac host. Use this if available. 2. 127.0.0.1 — works for host-mode runners (runs natively on Mac). NODE_TLS_REJECT_UNAUTHORIZED=0 (already set) bypasses the self-signed cert Gitea presents on its internal listener. Brought back actions/upload-artifact so the .app lands in Gitea's Actions UI like APK + AAB.