Skip to content

Commit

Permalink
Update build.yml (#330)
Browse files Browse the repository at this point in the history
Fixes an issue within this script that causes deployments to fail

#!components: grid-bot
#!deployable-components: grid-bot

Signed-off-by: Nikita Petko <petko@vmminfra.net>
  • Loading branch information
jf-06 authored Jul 31, 2024
1 parent 284f34d commit c275ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,12 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const components = '${{ env.COMPONENTS }}';
const components = ${{ env.COMPONENTS }};
const deployableComponents = '${{ env.DEPLOYABLE_COMPONENTS }}';
let deployableComponentsMap = '';
for (const component of deployableComponents.split(',')) {
for (const component of components) {
let [name, version] = component.split(':');
if (!version) version = 'latest';
Expand Down

0 comments on commit c275ba0

Please sign in to comment.