5252 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
5353 new_version : ${{ needs.get-update-version.outputs.new_version }}
5454 runs-on : macos-12
55- cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION=${{ needs.get-update-version.outputs.new_version }} -DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
55+ cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v ${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
5656 channel : nightly
5757 arch : amd64
5858
6565 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
6666 new_version : ${{ needs.get-update-version.outputs.new_version }}
6767 runs-on : macos-latest
68- cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION=${{ needs.get-update-version.outputs.new_version }} -DMAC_ARM64=ON -DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
68+ cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v ${{ needs.get-update-version.outputs.new_version }}' -DMAC_ARM64=ON -DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
6969 channel : nightly
7070 arch : arm64
7171
7878 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
7979 new_version : ${{ needs.get-update-version.outputs.new_version }}
8080 runs-on : windows-cuda-11-7
81- cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION=${{ needs.get-update-version.outputs.new_version }} -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=C:/w/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
81+ cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v ${{ needs.get-update-version.outputs.new_version }}' -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=C:/w/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
8282 build-deps-cmake-flags : " -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
8383 ccache-dir : ' C:\Users\ContainerAdministrator\AppData\Local\ccache'
8484 channel : nightly
9292 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
9393 new_version : ${{ needs.get-update-version.outputs.new_version }}
9494 runs-on : ubuntu-20-04
95- cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION=${{ 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"
95+ 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"
9696 channel : nightly
9797
9898 update-latest-version :
@@ -102,10 +102,28 @@ jobs:
102102 - name : Update latest version
103103 id : update-latest-version
104104 run : |
105- echo "{\"tag_name\": \"${{ needs.get-update-version.outputs.new_version }}\"}" > version.json
105+ echo "{\"tag_name\": \"v ${{ needs.get-update-version.outputs.new_version }}\"}" > version.json
106106 aws s3 cp version.json s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/version.json
107107 env :
108108 AWS_ACCESS_KEY_ID : ${{ secrets.DELTA_AWS_ACCESS_KEY_ID }}
109109 AWS_SECRET_ACCESS_KEY : ${{ secrets.DELTA_AWS_SECRET_ACCESS_KEY }}
110110 AWS_DEFAULT_REGION : ${{ secrets.DELTA_AWS_REGION }}
111- AWS_EC2_METADATA_DISABLED : " true"
111+ AWS_EC2_METADATA_DISABLED : " true"
112+
113+ noti-discord-nightly-and-update-url-readme :
114+ needs : [build-macos-x64, build-macos-arm64, build-windows-x64, build-linux-x64, get-update-version, set-public-provider]
115+ secrets : inherit
116+ if : github.event_name == 'schedule'
117+ uses : ./.github/workflows/template-noti-discord.yaml
118+ with :
119+ build_reason : Nightly
120+ new_version : ${{ needs.get-update-version.outputs.new_version }}
121+
122+ noti-discord-manual :
123+ needs : [build-macos-x64, build-macos-arm64, build-windows-x64, build-linux-x64, get-update-version, set-public-provider]
124+ secrets : inherit
125+ if : github.event_name == 'workflow_dispatch' && github.event.inputs.public_provider == 'aws-s3'
126+ uses : ./.github/workflows/template-noti-discord.yaml
127+ with :
128+ build_reason : Manual
129+ new_version : ${{ needs.get-update-version.outputs.new_version }}
0 commit comments