mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 20:47:44 +01:00
ci: re-enable signing (#12974)
This commit is contained in:
24
.github/workflows/release.yaml
vendored
24
.github/workflows/release.yaml
vendored
@@ -264,20 +264,20 @@ jobs:
|
|||||||
KEY_CONTAINER: ${{ vars.KEY_CONTAINER }}
|
KEY_CONTAINER: ${{ vars.KEY_CONTAINER }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# - uses: google-github-actions/auth@v2
|
- uses: google-github-actions/auth@v2
|
||||||
# with:
|
with:
|
||||||
# project_id: ollama
|
project_id: ollama
|
||||||
# credentials_json: ${{ secrets.GOOGLE_SIGNING_CREDENTIALS }}
|
credentials_json: ${{ secrets.GOOGLE_SIGNING_CREDENTIALS }}
|
||||||
# - run: |
|
- run: |
|
||||||
# $ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
# Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=323507" -OutFile "${{ runner.temp }}\sdksetup.exe"
|
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
|
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"
|
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\"
|
Expand-Archive -Path "${{ runner.temp }}\plugin.zip" -DestinationPath "${{ runner.temp }}\plugin\"
|
||||||
# & "${{ runner.temp }}\plugin\*\kmscng.msi" /quiet
|
& "${{ 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
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|||||||
Reference in New Issue
Block a user