Skip to content

ci: Fix Windows wheel creation#2511

Merged
chaokunyang merged 1 commit into
apache:mainfrom
esafak:fix/windows_wheels
Aug 25, 2025
Merged

ci: Fix Windows wheel creation#2511
chaokunyang merged 1 commit into
apache:mainfrom
esafak:fix/windows_wheels

Conversation

@esafak
Copy link
Copy Markdown
Contributor

@esafak esafak commented Aug 25, 2025

Why?

  • Wheels were not created on Windows because it does not use bash by default
  • Once that works, downloading them will fail because actions/download-artifact requires the run-id to access artifacts from different workflows.

What does this PR do?

  • Add actions: read permission to release workflow.
  • Configure download-artifact action to use run-id and pattern for downloading wheels from a previous workflow run.
  • Enable merge-multiple for downloading artifacts.
  • Add shell: bash to build step in native release workflow.

Related issues

#2506

* Add `actions: read` permission to release workflow.
* Configure `download-artifact` action to use `run-id` and `pattern` for
  downloading wheels from a previous workflow run.
* Enable `merge-multiple` for downloading artifacts.
* Add `shell: bash` to build step in native release workflow.
@chaokunyang chaokunyang merged commit 8c0fdca into apache:main Aug 25, 2025
59 checks passed
@esafak esafak deleted the fix/windows_wheels branch August 25, 2025 04:05
chaokunyang pushed a commit that referenced this pull request Aug 25, 2025
## Why?

* Wheels were not created on Windows because it does not use bash by
default
* Once that works, downloading them will fail because
`actions/download-artifact` requires the `run-id` to access artifacts
from different workflows.

## What does this PR do?

* Add `actions: read` permission to release workflow.
* Configure `download-artifact` action to use `run-id` and `pattern` for
downloading wheels from a previous workflow run.
* Enable `merge-multiple` for downloading artifacts.
* Add `shell: bash` to build step in native release workflow.

## Related issues

#2506
chaokunyang pushed a commit to chaokunyang/fory that referenced this pull request Aug 25, 2025
* Wheels were not created on Windows because it does not use bash by
default
* Once that works, downloading them will fail because
`actions/download-artifact` requires the `run-id` to access artifacts
from different workflows.

* Add `actions: read` permission to release workflow.
* Configure `download-artifact` action to use `run-id` and `pattern` for
downloading wheels from a previous workflow run.
* Enable `merge-multiple` for downloading artifacts.
* Add `shell: bash` to build step in native release workflow.
@chaokunyang
Copy link
Copy Markdown
Collaborator

chaokunyang pushed a commit that referenced this pull request Aug 27, 2025
* Wheels were not created on Windows because it does not use bash by
default
* Once that works, downloading them will fail because
`actions/download-artifact` requires the `run-id` to access artifacts
from different workflows.

* Add `actions: read` permission to release workflow.
* Configure `download-artifact` action to use `run-id` and `pattern` for
downloading wheels from a previous workflow run.
* Enable `merge-multiple` for downloading artifacts.
* Add `shell: bash` to build step in native release workflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants