mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-17 13:57:15 +00:00
[CI] Update "rebuild needed" check
This commit is contained in:
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
- run: npm run build
|
||||
|
||||
- name: Check if dist/index.js needs to be rebuilt
|
||||
run: git status dist/index.js | grep "nothing to commit, working tree clean" -q
|
||||
run: diff <(git status dist/index.js --short) <(echo -n "")
|
||||
|
||||
format-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user