You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a script set up to build an application (Application.app), sign it, notarize it, staple it, and then it needs to be uploaded on a different environment.
However, it seems when uploading and downloading the signed artifact, something goes wrong and the archive is no longer notarized. If I manually check out the downloaded artifact, codesign --verify --deep says that a bunch of files have been modified.
What did you expect to happen?
Uploading and downloading an artifact should not impact MacOS notarization/code signing
UPDATE: It seems this may be because actions/upload-artifact@v4 loses permissions – but to be more specific, it's because it's unable to handle symlinks, and the raw files are stored instead.
If I tar the repository and then untar it, the code signature is not broken.
- name: Compress packagerun: | cd ${{ github.workspace }}/build mkdir ../tar tar -zcvf ../tar/package.tar.gz .
- name: Archive Mac builduses: actions/upload-artifact@v4with:
name: mac-buildpath: tar/
and
- name: Restore Mac builduses: actions/download-artifact@v4with:
name: mac-buildpath: tar/
- name: Uncompress packagerun: | cd ${{ github.workspace }}/tar mkdir ../build tar -zxvf package.tar.gz -C ../build
What happened?
I've got a script set up to build an application (Application.app), sign it, notarize it, staple it, and then it needs to be uploaded on a different environment.
However, it seems when uploading and downloading the signed artifact, something goes wrong and the archive is no longer notarized. If I manually check out the downloaded artifact,
codesign --verify --deep
says that a bunch of files have been modified.What did you expect to happen?
Uploading and downloading an artifact should not impact MacOS notarization/code signing
How can we reproduce it?
Anything else we need to know?
No response
What version of the action are you using?
v4
What are your runner environments?
linux, macos
Are you on GitHub Enterprise Server? If so, what version?
No response
The text was updated successfully, but these errors were encountered: