From 80d34260ea16e76c9ef0d014a86cc130421855f1 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Wed, 5 Nov 2025 12:33:01 -0800 Subject: [PATCH] ci: re-enable signing (#12974) --- .github/workflows/release.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 195203f1b9..ec4d24502f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -264,20 +264,20 @@ jobs: KEY_CONTAINER: ${{ vars.KEY_CONTAINER }} steps: - uses: actions/checkout@v4 - # - uses: google-github-actions/auth@v2 - # with: - # project_id: ollama - # credentials_json: ${{ secrets.GOOGLE_SIGNING_CREDENTIALS }} - # - run: | - # $ErrorActionPreference = "Stop" - # Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=323507" -OutFile "${{ runner.temp }}\sdksetup.exe" - # Start-Process "${{ runner.temp }}\sdksetup.exe" -ArgumentList @("/q") -NoNewWindow -Wait + - uses: google-github-actions/auth@v2 + with: + project_id: ollama + credentials_json: ${{ secrets.GOOGLE_SIGNING_CREDENTIALS }} + - run: | + $ErrorActionPreference = "Stop" + Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=323507" -OutFile "${{ runner.temp }}\sdksetup.exe" + Start-Process "${{ runner.temp }}\sdksetup.exe" -ArgumentList @("/q") -NoNewWindow -Wait - # Invoke-WebRequest -Uri "https://github.com/GoogleCloudPlatform/kms-integrations/releases/download/cng-v1.0/kmscng-1.0-windows-amd64.zip" -OutFile "${{ runner.temp }}\plugin.zip" - # Expand-Archive -Path "${{ runner.temp }}\plugin.zip" -DestinationPath "${{ runner.temp }}\plugin\" - # & "${{ runner.temp }}\plugin\*\kmscng.msi" /quiet + Invoke-WebRequest -Uri "https://github.com/GoogleCloudPlatform/kms-integrations/releases/download/cng-v1.0/kmscng-1.0-windows-amd64.zip" -OutFile "${{ runner.temp }}\plugin.zip" + Expand-Archive -Path "${{ runner.temp }}\plugin.zip" -DestinationPath "${{ runner.temp }}\plugin\" + & "${{ runner.temp }}\plugin\*\kmscng.msi" /quiet - # echo "${{ vars.OLLAMA_CERT }}" >ollama_inc.crt + echo "${{ vars.OLLAMA_CERT }}" >ollama_inc.crt - uses: actions/setup-go@v5 with: go-version-file: go.mod