Skip to content

Commit

Permalink
Build both
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Jan 4, 2024
1 parent e3f4b31 commit 7992e96
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/actions/install-dashboards/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,25 @@ runs:
npm i -g yarn@${{ steps.tool-versions.outputs.yarn_version }}
yarn cache clean
yarn add sha.js
yarn osd bootstrap
scripts/use_node scripts/build
working-directory: OpenSearch-Dashboards
shell: bash

- name: Setup upterm session
uses: lhotari/action-upterm@v1


- uses: actions/checkout@v2
with:
path: ${{ steps.determine-plugin-directory.outputs.plugin-directory }}

- name: Build Plugin Zip
run: |
yarn build
with:
path: ${{ steps.determine-plugin-directory.outputs.plugin-directory }}

- name: Setup upterm session
uses: lhotari/action-upterm@v1


- id: osd-version
run: |
echo "::set-output name=osd-version::$(jq -r '.opensearchDashboards.version | split(".") | .[:2] | join(".")' package.json)"
Expand Down

0 comments on commit 7992e96

Please sign in to comment.