Skip to content

Commit 4c8c2db

Browse files
authored
Merge pull request #2372 from rajatjindal/nit-fix-label-openssl
nit: fix label on openssl setup
2 parents b4db602 + fb5b392 commit 4c8c2db

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/actions/spin-ci-dependencies/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ inputs:
7878
default: 'false'
7979
type: bool
8080

81-
vcpkg:
82-
description: 'setup vcpkg'
81+
openssl-windows:
82+
description: 'setup openssl on windows'
8383
required: false
8484
default: 'false'
8585
type: bool
@@ -136,10 +136,10 @@ runs:
136136
with:
137137
version: ${{ inputs.tinygo-version }}
138138

139-
## Install vcpgk
140-
- name: "Install vcpkg"
139+
## Install openssl
140+
- name: "Install openssl on windows"
141141
run: |
142142
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
143143
vcpkg install openssl:x64-windows-static-md
144144
shell: pwsh
145-
if: ${{ inputs.vcpkg == 'true' }}
145+
if: ${{ inputs.openssl-windows == 'true' }}

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
rust: true
127127
rust-wasm: true
128128
rust-cache: true
129-
vcpkg: "${{ matrix.os == 'windows-latest' }}"
129+
openssl-windows: "${{ matrix.os == 'windows-latest' }}"
130130

131131
- name: Cargo Build
132132
run: cargo build --workspace --release --all-targets
@@ -280,8 +280,7 @@ jobs:
280280
- name: setup dependencies
281281
uses: ./.github/actions/spin-ci-dependencies
282282
with:
283-
vcpkg: "${{ matrix.os == 'windows-latest' }}"
284-
openssl-mac: "${{ matrix.os == 'macos-latest' }}"
283+
openssl-windows: "${{ matrix.os == 'windows-latest' }}"
285284

286285
- name: build release
287286
shell: bash

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
- name: setup dependencies
118118
uses: ./.github/actions/spin-ci-dependencies
119119
with:
120-
vcpkg: "${{ matrix.os == 'windows-latest' }}"
120+
openssl-windows: "${{ matrix.os == 'windows-latest' }}"
121121

122122
- name: build release
123123
shell: bash

0 commit comments

Comments
 (0)