Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Only contents of macOS-Application (***.app) get uploaded #581

Open
maxfornacon opened this issue Jun 21, 2024 · 2 comments
Open

[bug] Only contents of macOS-Application (***.app) get uploaded #581

maxfornacon opened this issue Jun 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@maxfornacon
Copy link

What happened?

I tried uploading a macOS-Application (***.app). Instead the contents of the file get uploaded. When I download the artifact I only receive a directory, called "Contents" which typically resides directly inside the app package.

I guess it handles it like a directory, which it technically is, but still kind of an exception.

What did you expect to happen?

I expected the whole app package to be uploaded, not just the contents.

How can we reproduce it?

      - name: Upload .app as artifact
        uses: actions/upload-artifact@v4
        with:
          name: macos-bin-files
          path: ${{ env.MACOS_APP_RELEASE_PATH }}/***.app
          retention-days: 1

Anything else we need to know?

No response

What version of the action are you using?

v4.3.3

What are your runner environments?

macos

Are you on GitHub Enterprise Server? If so, what version?

No response

@maxfornacon maxfornacon added the bug Something isn't working label Jun 21, 2024
@sanjacob
Copy link

.app is a directory my friend.

@sanjacob
Copy link

You can still upload, then download to path: something.app. Be aware that symlinks are not preserved, so filesize may balloon unless you tar it first (or unless this action is updated with an option to preserve symlinks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants