update sdoc version and sdoc translate #3149
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 | |
- "12.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: "20.x" | |
- name: gettext for django | |
run: | | |
sudo apt-get update --fix-missing | |
sudo apt-get install gettext python3-wheel libjwt-dev libsasl2-dev libldap2-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 |