Skip to content

Commit

Permalink
Actions: Move install dependencies to after linting, add TZ
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Apr 25, 2024
1 parent c521601 commit 961bf27
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip3 install -r requirements.txt
- name: "Linting: autocorrect"
run: |
curl -sSL https://raw.githubusercontent.com/huacnlee/autocorrect/main/install | sh
Expand All @@ -25,9 +22,13 @@ jobs:
uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: docs/**/*.md
- name: Install dependencies
run: |
pip3 install -r requirements.txt
- name: Build documentation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TZ: Asia/Shanghai
run: make
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
Expand Down

0 comments on commit 961bf27

Please sign in to comment.