microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
f98aebb2e0ca8cbef1204344b8537eecdc2869f6

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

flowey/flowey_hvlite/src/pipelines_shared/gh_flowey_bootstrap_template.rs

19lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! See [`get_template`]
5
6/// Get our internal flowey bootstrap template.
7///
8/// See [`Pipeline::gh_set_flowey_bootstrap_template`]
9///
10/// [`Pipeline::gh_set_flowey_bootstrap_template`]:
11/// flowey::pipeline::prelude::Pipeline::gh_set_flowey_bootstrap_template
12pub fn get_template() -> String {
13 let template = include_str!("gh_flowey_bootstrap_template.yml").to_string();
14
15 template.replace(
16 "{{RUSTUP_TOOLCHAIN}}",
17 flowey_lib_hvlite::_jobs::cfg_versions::RUSTUP_TOOLCHAIN,
18 )
19}