Skip to content

Chef installation failure on Windows GitHub runner on v6.0.0 #46

Description

@crobert-1

👻 Brief Description

After bumping the action version from 5.0.2 to v6.0.0 our GitHub workflow is failing when attempting to install Chef.

🥞 Action version

actionshub/chef-install@f3b35943a257c25f3ca69e3b773fa4e0e99b58d6 # 6.0.0

🎩 workflow configuration

Reference

Contents:

name: chef-test

# Only run tests if there are relevant changes
on:
  pull_request:
    paths:
      - '.github/workflows/chef-test.yml'

jobs:
  chef-kitchen-windows:
    runs-on: windows-2025
    steps:
      - name: Check out code
        uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

      - name: Install chef
        uses: actionshub/chef-install@f3b35943a257c25f3ca69e3b773fa4e0e99b58d6 # 6.0.0
        with:
          version: "25.14.2"

Steps To Reproduce

Run GitHub workflow above as configured.

🚓 Expected behavior

Chef installation is expected to succeed. Instead the following error message occurs:

shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
    env:
      CHANNEL: stable
      PROJECT: cinc-workstation
      VERSION: 25.14.2
      CHEF_DOWNLOAD_URL: chefdownload-community.chef.io
      LICENSE: 
      OMNITRUCK_URL: omnitruck.cinc.sh
      WINDOWS_PATH: 
  Exception: D:\a\_temp\62d88a5c-3c7b-4336-b32f-e43306f0a6a1.ps1:66
  Line |
    66 |    throw $message
       |    ~~~~~~~~~~~~~~
       | Installer download redirected to an unexpected URL: 
  Error: Process completed with exit code 1.

➕ Additional context

  • This fails on Windows 2022 and Windows 2025 runners, and failed with version set to "25.12.1102" and "25.14.2"
  • Example PR with failing workflow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions