-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Dmitry Osipov <[email protected]>
- Loading branch information
1 parent
ac3cfe6
commit b9af777
Showing
4 changed files
with
14 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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