@@ -43,25 +43,25 @@ jobs:
4343 get-update-version :
4444 uses : ./.github/workflows/template-get-update-version.yml
4545
46- get-cortex- llamacpp-latest-version :
46+ get-llamacpp-latest-version :
4747 uses : ./.github/workflows/template-cortex-llamacpp-latest-version.yml
4848
4949 build-macos :
5050 uses : ./.github/workflows/template-build-macos.yml
51- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
51+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
5252 secrets : inherit
5353 with :
5454 ref : ${{ needs.set-public-provider.outputs.ref }}
5555 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
5656 new_version : ${{ needs.get-update-version.outputs.new_version }}
5757 cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake"
5858 channel : nightly
59- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
59+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
6060
6161 build-windows-x64 :
6262 uses : ./.github/workflows/template-build-windows-x64.yml
6363 secrets : inherit
64- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
64+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
6565 with :
6666 ref : ${{ needs.set-public-provider.outputs.ref }}
6767 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
@@ -71,40 +71,40 @@ jobs:
7171 build-deps-cmake-flags : " -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
7272 ccache-dir : ' C:\Users\ContainerAdministrator\AppData\Local\ccache'
7373 channel : nightly
74- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
74+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
7575
7676 build-linux-x64 :
7777 uses : ./.github/workflows/template-build-linux.yml
7878 secrets : inherit
79- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
79+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
8080 with :
8181 ref : ${{ needs.set-public-provider.outputs.ref }}
8282 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
8383 new_version : ${{ needs.get-update-version.outputs.new_version }}
8484 runs-on : ubuntu-20-04
8585 cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
8686 channel : nightly
87- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
87+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
8888 arch : amd64
8989
9090 build-linux-arm64 :
9191 uses : ./.github/workflows/template-build-linux.yml
9292 secrets : inherit
93- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
93+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
9494 with :
9595 ref : ${{ needs.set-public-provider.outputs.ref }}
9696 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
9797 new_version : ${{ needs.get-update-version.outputs.new_version }}
9898 runs-on : ubuntu-2004-arm64
9999 cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
100100 channel : nightly
101- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
101+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
102102 arch : arm64
103103
104104 update-latest-version :
105105 runs-on : ubuntu-latest
106106 if : needs.set-public-provider.outputs.public_provider == 'aws-s3'
107- needs : [get-update-version, set-public-provider, build-linux-x64, build-linux-arm64, build-macos, build-windows-x64, get-cortex- llamacpp-latest-version]
107+ needs : [get-update-version, set-public-provider, build-linux-x64, build-linux-arm64, build-macos, build-windows-x64, get-llamacpp-latest-version]
108108 steps :
109109 - name : Update latest version
110110 id : update-latest-version
@@ -132,7 +132,7 @@ jobs:
132132 if : needs.set-public-provider.outputs.public_provider == 'aws-s3'
133133 uses : ./.github/workflows/template-build-docker-x64.yml
134134 secrets : inherit
135- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version, update-latest-version]
135+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version, update-latest-version]
136136 with :
137137 ref : ${{ needs.set-public-provider.outputs.ref }}
138138 new_version : nightly-${{ needs.get-update-version.outputs.new_version }}
@@ -141,7 +141,7 @@ jobs:
141141 tags : menloltd/cortex:nightly-${{ needs.get-update-version.outputs.new_version }}
142142
143143 noti-discord-nightly-and-update-url-readme :
144- needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex- llamacpp-latest-version, update-latest-version, build-docker-x64]
144+ needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-llamacpp-latest-version, update-latest-version, build-docker-x64]
145145 secrets : inherit
146146 if : github.event_name == 'schedule'
147147 uses : ./.github/workflows/template-noti-discord.yaml
@@ -150,7 +150,7 @@ jobs:
150150 new_version : ${{ needs.get-update-version.outputs.new_version }}
151151
152152 noti-discord-manual :
153- needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex- llamacpp-latest-version, build-docker-x64]
153+ needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-llamacpp-latest-version, build-docker-x64]
154154 secrets : inherit
155155 if : github.event_name == 'workflow_dispatch' && github.event.inputs.public_provider == 'aws-s3'
156156 uses : ./.github/workflows/template-noti-discord.yaml
0 commit comments