Skip to content

Commit

Permalink
chore: enable fips on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Dominik Rosiek committed Dec 5, 2023
1 parent b289f65 commit 7672c33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
run: |
curl -Lo go.zip https://aka.ms/golang/release/latest/go${{ env.GO_VERSION }}.windows-amd64.zip &&
powershell -command "Expand-Archive go.zip D:\\a\\_work\\1\\s" &&
echo "/d/a/_work/1/s/go/bin" >> $GITHUB_PATH
echo "/d/a/_work/1/s/go/bin" >> $GITHUB_PATH &&
powershell -command "Set-ItemProperty -Path HKLM:\System\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy -Name Enabled -Value \$true"
- name: Get Go env values
if: ${{ ! inputs.only-if-changed || steps.changed-files.outputs.any_changed == 'true' }}
Expand Down

0 comments on commit 7672c33

Please sign in to comment.