feat: use dto in getfeatures #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#********************************************************************* | |
# Copyright (c) Intel Corporation 2023 | |
# SPDX-License-Identifier: Apache-2.0 | |
#*********************************************************************/ | |
# This workflow will release new versions when required using semantic-release | |
name: Semantic-Release CI | |
on: | |
push: | |
branches: [alpha] | |
permissions: | |
contents: read | |
jobs: | |
release: | |
permissions: | |
contents: write # for Git to git push | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit | |
- name: Checkout Console | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- name: Check out Sample Web UI | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # master | |
with: | |
repository: open-amt-cloud-toolkit/sample-web-ui | |
ref: $(git describe --tags $(git rev-list --tags --max-count=1)) | |
path: ./temp | |
- run: npm ci | |
working-directory: ./temp | |
- run: npm run build-enterprise | |
working-directory: ./temp | |
- name: move files | |
run: mv ./temp/ui/* ./internal/controller/http/ui | |
- name: Docker Login | |
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0 | |
with: | |
registry: vprodemo.azurecr.io | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
logout: true | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # v4.1.0 | |
with: | |
semantic_version: | |
19.0.5 # It is recommended to specify a version range | |
# for semantic-release when using | |
# semantic-release-action lower than @v3 | |
extra_plugins: | | |
@semantic-release/exec@6.0.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.ROSIE_TOKEN }} |