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] v3 and v4 hang 100% uploading from macos-13 runner following CPACK_GENERATOR "DragNDrop" #573

Open
howprice opened this issue Jun 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@howprice
Copy link

howprice commented Jun 4, 2024

What happened?

actions/upload-artifact@v4 hangs a simple CMake C++ project uploading a macOS DragNDrop package.

What did you expect to happen?

The workflow step containing actions/upload-artifact@v4 should complete very quickly and upload the artifacts as expected.

How can we reproduce it?

  1. Clone https://github.com/howprice/cleanCppProject
  2. Run https://github.com/howprice/cleanCppProject/actions/workflows/build-packages.yml manually
  3. Observe that the Upload package step never completes

Repro with v3:

  1. Edit .github/workflows/build-packages.yml and change upload-artifact@v4 to upload-artifact@v3 (remove overwrite: true to avoid build warning
  2. Run https://github.com/howprice/cleanCppProject/actions/workflows/build-packages.yml manually
  3. Observe that the Upload package step never completes

Anything else we need to know?

If the TGZ CPACK_GENERATOR is used instead, then upload-artifact behaves as expected. See e6e29f9 - Use TGZ package generator instead of DragNDrop and https://github.com/howprice/cleanCppProject/actions/runs/9362599344/job/25771653118

The DS_Store.scpt performs some UI work to set up the window and icon positions for the macOS "DragNDrop" package. Perhaps this is leaving the machine in a funny state? Are the runners headless? Should they be able to support this kind of packaging step?

I have not tried this on macos-latest (macos-14 at time of writing)

What version of the action are you using?

v4

What are your runner environments?

macos

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

No response

@howprice howprice added the bug Something isn't working label Jun 4, 2024
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

1 participant