mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-13 11:57:18 +00:00
[CI] Add a "rebuild needed" check
This commit is contained in:
3
.github/workflows/build-test.yml
vendored
3
.github/workflows/build-test.yml
vendored
@@ -26,6 +26,9 @@ jobs:
|
|||||||
|
|
||||||
- run: npm run build
|
- 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
|
||||||
|
|
||||||
format-check:
|
format-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user