plentico / osxcross-target

Provides darwin (Mac) binary support on Linux when cross-compiling Go apps that have CGO dependencies
16 stars 0 forks source link

zip warning: name not matched #7

Closed jimafisk closed 1 week ago

jimafisk commented 2 weeks ago

Failing build: https://github.com/plentico/osxcross-target/actions/runs/11619068178/job/32357879928

Error: zip warning: name not matched

Solution for zip seems to be adding --symlinks: https://unix.stackexchange.com/questions/179451/zip-warning-name-not-matched-while-compressing-a-directory

Solution for tar seems to be adding --dereference: https://superuser.com/questions/137388/how-do-i-tar-ball-a-directory-hierarchy-with-soft-links-in-linux

jimafisk commented 1 week ago

Trying to zip up the release timed out after 6hrs for some reason: https://github.com/plentico/osxcross-target/actions/runs/11619430844/job/32359029727

So I removed the steps that tar / zip the files: https://github.com/plentico/osxcross-target/commit/a87fb2c89507c08a0e6fee27999accf91aea3178

Seems like these automatically get tar / zipped: https://github.com/plentico/osxcross-target/releases/tag/v0.3.0