Skip to content

Commit

Permalink
fix: gear-ui CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
osipov-mit committed Aug 25, 2023
1 parent 5ebb0ba commit 7297675
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/CI-CD-gear-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,6 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v2

- name: "Check changed files"
shell: pwsh
id: check_file_changed
run: |
# Diff HEAD with the previous commit
$diff = git diff --name-only HEAD^ HEAD
# Check if a file under gear-ui has changed (added, modified, deleted)
$SourceDiffGearUI = $diff | Where-Object { $_ -match '^utils/gear-ui/' }
$HasDiffGearUI = $SourceDiffGearUI.Length -gt 0
$SourceDiffVaraUI = $diff | Where-Object { $_ -match '^utils/vara-ui/' }
$HasDiffVaraUI = $SourceDiffVaraUI.Length -gt 0
# Set the output
Write-Host "::set-output name=gearui_changed::$HasDiffGearUI"
Write-Host "::set-output name=varaui_changed::$HasDiffVaraUI"
- name: Use node 18.x
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 7297675

Please sign in to comment.