Skip to content

Commit 29a95e8

Browse files
authored
Fix nightly releases (#21203)
They have been broken for a month
1 parent 99a6bdc commit 29a95e8

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/workflows/actions.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,5 @@ jobs:
126126
pip install -r requirements.txt --progress-bar off --upgrade
127127
pip uninstall -y keras keras-nightly
128128
pip install -e "." --progress-bar off --upgrade
129-
- name: Install pre-commit
130-
run: pip install pre-commit && pre-commit install
131129
- name: Run pre-commit
132130
run: pre-commit run --all-files --hook-stage manual

.github/workflows/nightly.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,8 @@ jobs:
8181
pip install -r requirements.txt --progress-bar off --upgrade
8282
pip uninstall -y keras keras-nightly
8383
pip install -e "." --progress-bar off --upgrade
84-
- name: Lint
85-
run: bash shell/lint.sh
86-
- name: Check for API changes
87-
run: |
88-
bash shell/api_gen.sh
89-
git status
90-
clean=$(git status | grep "nothing to commit")
91-
if [ -z "$clean" ]; then
92-
echo "Please run shell/api_gen.sh to generate API."
93-
exit 1
94-
fi
84+
- name: Run pre-commit
85+
run: pre-commit run --all-files --hook-stage manual
9586

9687

9788
nightly:

0 commit comments

Comments
 (0)