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
fix(ci): correct shell usage and artifact path in release workflow
This commit addresses two issues in the release workflow (`release.yml`):
1. **Remove invalid `shell:` key usage:** The "Package release artifacts" step incorrectly tried to use `${{ matrix.archive_shell }}` for the `shell:` key. This key requires a predefined shell keyword, not a runtime expression. The step now relies on the runner's default shell (bash/pwsh), which matches the required shells for the archive commands.
2. **Fix artifact upload path:** The `ARCHIVE_NAME` variable, set dynamically via `$GITHUB_ENV`, was not accessible using `${{ env.ARCHIVE_NAME }}` in the `actions/upload-artifact` step's `path` input. The "Prepare archive name" step now also sets a step output (`archive_filename`), and the upload step uses this output (`${{ steps.prepare_archive_name.outputs.archive_filename }}`) to correctly specify the artifact path.
0 commit comments