update clear_invalid_repo_data.py #1442
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
name: Seahub Dist CI | |
on: | |
push: | |
branches: | |
- master | |
- "10.0" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: gettext for django | |
run: | | |
sudo apt-get install gettext python3-wheel libjwt-dev | |
sudo rm -rf /usr/lib/python3/dist-packages/pytz/ | |
- name: Build dist branch | |
run: | | |
cd $GITHUB_WORKSPACE/tests/ | |
chmod +x github_actions_dist.sh | |
./github_actions_dist.sh |