File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change 77 matrix :
88 os : [windows-latest, ubuntu-latest]
99 runs-on : ${{ matrix.os }}
10- permissions :
11- contents : write
1210 permissions :
1311 contents : write
1412 env :
1513 PYTHONUTF8 : ${{ matrix.os == 'windows-latest' && '1' || '' }}
1614 steps :
17- - uses : szenius/set-timezone@v2.0
18- with :
19- timezoneLinux : " Asia/Shanghai"
20- timezoneMacos : " Asia/Shanghai"
21- timezoneWindows : " China Standard Time"
2215 - uses : szenius/set-timezone@v2.0
2316 with :
2417 timezoneLinux : " Asia/Shanghai"
5144 env :
5245 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5346 run : |
54- python3 ci/deploy.py - name: Configure Git
55- run : |
56- git config --global user.name "github-actions[bot]"
57- git config --global user.email "github-actions[bot]@users.noreply.github.com"
58- - name : Deploy PDF files to build branch
59- if : |
60- matrix.os == 'windows-latest' &&
61- (github.event_name == 'workflow_dispatch' ||
62- github.event_name == 'push' && github.ref == 'refs/heads/main' ||
63- github.event_name == 'pull_request' && github.base_ref == 'main')
64- env :
65- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66- run : |
67- python3 ci/deploy.py
47+ python3 ci/deploy.py
You can’t perform that action at this time.
0 commit comments