mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
Add generation of announcements tables (#1355)
* Parse announcements from issues * Minor fix * Minor fix * Reworked * Minor fix * Fix env variable name
This commit is contained in:
committed by
GitHub
parent
0f6fba462a
commit
75ac0436ed
@@ -31,7 +31,8 @@
|
||||
"capture_name_prefix": "packer",
|
||||
"image_version": "dev",
|
||||
"image_os": "win16",
|
||||
"github_feed_token": "{{env `GITHUB_FEED_TOKEN`}}"
|
||||
"github_feed_token": "{{env `GITHUB_FEED_TOKEN`}}",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
},
|
||||
"sensitive-variables": ["install_password", "ssh_password", "client_secret", "github_feed_token"],
|
||||
"builders": [
|
||||
@@ -84,11 +85,6 @@
|
||||
"source": "{{ template_dir }}/scripts/SoftwareReport",
|
||||
"destination": "{{user `image_folder`}}"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "{{ template_dir }}/announcements.md",
|
||||
"destination": "{{user `image_folder`}}/SoftwareReport/announcements.md"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "{{ template_dir }}/scripts/Tests",
|
||||
@@ -667,7 +663,8 @@
|
||||
"pwsh -File '{{user `image_folder`}}\\SoftwareReport\\SoftwareReport.Generator.ps1'"
|
||||
],
|
||||
"environment_vars":[
|
||||
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
|
||||
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
|
||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user