Skip to content

Fix Windows CI: replace choco StrawberryPerl install with shogo82148/actions-setup-perl#117

Closed
Copilot wants to merge 5 commits into
masterfrom
copilot/add-perl-tk-tests
Closed

Fix Windows CI: replace choco StrawberryPerl install with shogo82148/actions-setup-perl#117
Copilot wants to merge 5 commits into
masterfrom
copilot/add-perl-tk-tests

Conversation

Copilot AI commented Mar 1, 2026

Copy link
Copy Markdown

windows-latest now ships with a newer StrawberryPerl pre-installed. Installing the pinned 5.32 via chocolatey fails with MSI error 1603 (Windows MSI refuses to downgrade), and attempting choco uninstall first hangs for 2+ minutes traversing dependency chains.

Changes

  • Replace the choco install/choco uninstall block and manual PATH setup with shogo82148/actions-setup-perl@v1 (distribution: strawberry), which downloads StrawberryPerl directly from GitHub releases — no MSI, no chocolatey, no downgrade conflict
  • Drop the manual "Set PATH" step (handled by the action)
  • Update matrix perl_version from chocolatey-format 5.32.1.1 → semver 5.32
- name: Install StrawberryPerl ${{ matrix.perl_version }}
  uses: shogo82148/actions-setup-perl@v1
  with:
    perl-version: ${{ matrix.perl_version }}
    distribution: strawberry

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: eserte <65852+eserte@users.noreply.github.com>
Copilot AI changed the title [WIP] Add tests for Perl/Tk on Windows Implement Windows CI workflow with StrawberryPerl matrix Mar 1, 2026
….32.1.1

Co-authored-by: eserte <65852+eserte@users.noreply.github.com>
Copilot AI changed the title Implement Windows CI workflow with StrawberryPerl matrix Fix Windows CI: add --allow-downgrade when installing StrawberryPerl 5.32.1.1 Mar 1, 2026
…ing pinned version

Co-authored-by: eserte <65852+eserte@users.noreply.github.com>
Copilot AI changed the title Fix Windows CI: add --allow-downgrade when installing StrawberryPerl 5.32.1.1 Fix Windows CI: uninstall pre-installed StrawberryPerl before installing pinned version Mar 1, 2026
Co-authored-by: eserte <65852+eserte@users.noreply.github.com>
Copilot AI changed the title Fix Windows CI: uninstall pre-installed StrawberryPerl before installing pinned version Fix Windows CI: replace choco StrawberryPerl install with shogo82148/actions-setup-perl Mar 1, 2026
@eserte eserte closed this Mar 1, 2026
@eserte

eserte commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Merged manually.

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