Skip to content

Update OpenSSL for windows-11-arm #144

@heaths

Description

@heaths

Type of issue

  • Error when running a workflow.
  • Request for additional tools or software for an existing image.
  • Request for a new image, Linux or Windows.
  • Other

Describe the issue
OpenSSL 3.6 (installed on the official image windows-latest) seems to install its libs in a different directory than 3.4, which your windows-11-arm installs. This means it's difficult to maintain a single workflow that works for both without complicating it with a bunch of conditions.

To Reproduce
Because OpenSSL is not in the path/lib path, you have to add it like so:

    - name: Install openssl (Windows)
      if: runner.os == 'Windows'
      run: |
        echo "OPENSSL_DIR=C:\Program Files\OpenSSL" >> $GITHUB_ENV
        echo "OPENSSL_LIB_DIR=C:\Program Files\OpenSSL\lib\VC\x64\MT" >> $GITHUB_ENV

That works for the windows-latest runner, but not windows-11-arm because the libraries are in a different directory.

Expected behavior
Works consistently with windows-latest.

Desktop (please complete the following information):

  • OS: windows-11-arm

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