This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-15
lines changed
Expand file tree Collapse file tree 3 files changed +22
-15
lines changed Original file line number Diff line number Diff line change @@ -200,14 +200,17 @@ jobs:
200200 cd cortex-cpp
201201 make codesign CODE_SIGN=true DEVELOPER_ID="${{ secrets.DEVELOPER_ID }}"
202202
203- - name : Code Signing Windows
203+ - uses : nick-fields/retry@v3
204+ with :
205+ retry_wait_seconds : 10
206+ timeout_minutes : 10
207+ max_attempts : 3
208+ command : |
209+ cd cortex-cpp
210+ set PATH=%PATH%;%USERPROFILE%\.dotnet\tools
211+ make codesign CODE_SIGN=true AZURE_KEY_VAULT_URI="${{ secrets.AZURE_KEY_VAULT_URI }}" AZURE_CLIENT_ID="${{ secrets.AZURE_CLIENT_ID }}" AZURE_TENANT_ID="${{ secrets.AZURE_TENANT_ID }}" AZURE_CLIENT_SECRET="${{ secrets.AZURE_CLIENT_SECRET }}" AZURE_CERT_NAME="${{ secrets.AZURE_CERT_NAME }}"
212+ name : Code Signing Windows
204213 if : runner.os == 'Windows'
205- shell : cmd
206- run : |
207- cd cortex-cpp
208- set PATH=%PATH%;%USERPROFILE%\.dotnet\tools
209- make codesign CODE_SIGN=true AZURE_KEY_VAULT_URI="${{ secrets.AZURE_KEY_VAULT_URI }}" AZURE_CLIENT_ID="${{ secrets.AZURE_CLIENT_ID }}" AZURE_TENANT_ID="${{ secrets.AZURE_TENANT_ID }}" AZURE_CLIENT_SECRET="${{ secrets.AZURE_CLIENT_SECRET }}" AZURE_CERT_NAME="${{ secrets.AZURE_CERT_NAME }}"
210-
211214
212215 - name : Package
213216 run : |
Original file line number Diff line number Diff line change @@ -201,14 +201,18 @@ jobs:
201201 cd cortex-cpp
202202 make codesign CODE_SIGN=true DEVELOPER_ID="${{ secrets.DEVELOPER_ID }}"
203203
204- - name : Code Signing Windows
204+ - uses : nick-fields/retry@v3
205+ with :
206+ continue_on_error : true
207+ retry_wait_seconds : 10
208+ timeout_minutes : 10
209+ max_attempts : 3
210+ command : |
211+ cd cortex-cpp
212+ set PATH=%PATH%;%USERPROFILE%\.dotnet\tools
213+ make codesign CODE_SIGN=true AZURE_KEY_VAULT_URI="${{ secrets.AZURE_KEY_VAULT_URI }}" AZURE_CLIENT_ID="${{ secrets.AZURE_CLIENT_ID }}" AZURE_TENANT_ID="${{ secrets.AZURE_TENANT_ID }}" AZURE_CLIENT_SECRET="${{ secrets.AZURE_CLIENT_SECRET }}" AZURE_CERT_NAME="${{ secrets.AZURE_CERT_NAME }}"
214+ name : Code Signing Windows
205215 if : runner.os == 'Windows'
206- shell : cmd
207- run : |
208- cd cortex-cpp
209- set PATH=%PATH%;%USERPROFILE%\.dotnet\tools
210- make codesign CODE_SIGN=true AZURE_KEY_VAULT_URI="${{ secrets.AZURE_KEY_VAULT_URI }}" AZURE_CLIENT_ID="${{ secrets.AZURE_CLIENT_ID }}" AZURE_TENANT_ID="${{ secrets.AZURE_TENANT_ID }}" AZURE_CLIENT_SECRET="${{ secrets.AZURE_CLIENT_SECRET }}" AZURE_CERT_NAME="${{ secrets.AZURE_CERT_NAME }}"
211-
212216
213217 - name : Package
214218 run : |
Original file line number Diff line number Diff line change 5151 echo "Updated version from $current_version to $latest_prerelease_name."
5252 echo "::set-output name=pr_created::true"
5353 cd -
54- git add $engine_cmake_path
54+ git add cortex-cpp/ $engine_cmake_path
5555 git commit -m "Update cortex.llamacpp nightly to version $latest_prerelease_name"
5656 branch_name="update-nightly-$(date +'%Y-%m-%d-%H-%M')"
5757 git checkout -b $branch_name
You can’t perform that action at this time.
0 commit comments