File tree Expand file tree Collapse file tree 3 files changed +21
-7
lines changed
devcontainers/base/.devcontainer/scripts Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 1616
1717env :
1818 # Sets the Docker image tag to use for the image built in this workflow.
19+ features_dir : src/features
1920 base_dir : src/devcontainers
2021 context : .devcontainer
2122 workspace_folder : .
@@ -40,12 +41,18 @@ jobs:
4041 pull-requests : write
4142 steps :
4243 - uses : actions/checkout@v3
43-
44- - name : " Publish Features"
44+ - uses : dorny/paths-filter@v3
45+ id : changes
46+ with :
47+ filters : |
48+ src:
49+ - '${{ env.features_dir }}/**'
50+ - if : steps.changes.outputs.src == 'true'
51+ name : " Publish Features"
4552 uses : devcontainers/action@v1
4653 with :
4754 publish-features : " true"
48- base-path-to-features : " ./src/features "
55+ base-path-to-features : " ./${{ env.features_dir }} "
4956 generate-docs : " false"
5057 env :
5158 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8491 registry : ${{ env.registry }}
8592 username : ${{ github.actor }}
8693 password : ${{ secrets.GITHUB_TOKEN }}
87-
88- - uses : actions/setup-node@v6
94+ - uses : dorny/paths-filter@v3
95+ id : changes
96+ with :
97+ filters : |
98+ src:
99+ - '${{env.base_dir}}/${{ matrix.container_name }}/**'
100+ - if : steps.changes.outputs.src == 'true'
101+ uses : actions/setup-node@v6
89102 with :
90103 node-version : ${{ env.node_version }}
91104
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ apt-get update
77echo " Packages to be installed:"
88cat packages.txt
99echo " Starting APT packages installation"
10- cat packages.txt | xargs apt-get install -y --install-suggests --install-recommends
10+ # cat packages.txt | xargs apt-get install -y --install-suggests --install-recommends
11+ cat packages.txt | xargs apt-get install -y
1112echo " APT packages installation complete"
Original file line number Diff line number Diff line change 4949 "name" : " NHS Notify" ,
5050 "postCreateCommand" : " zsh /usr/local/share/nhsnotify/scripts/postcreatecommand.sh" ,
5151 "postStartCommand" : " zsh /usr/local/share/nhsnotify/scripts/poststartcommand.sh" ,
52- "version" : " 1.0.6 " ,
52+ "version" : " 1.0.7 " ,
5353 "customizations" : {
5454 "vscode" : {
5555 "extensions" : [
You can’t perform that action at this time.
0 commit comments