Minor update #385
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: latest | |
on: | |
push: | |
branches: | |
- dev | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.head_commit.message, 'Bump') }} | |
steps: | |
- name: Clone | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- name: Dependency | |
run: | | |
sudo apt-get install doxygen graphviz -y | |
pip install -e . | |
rm $(pwd)/suanPan-linux-openblas-no-avx/bin/updater | |
sudo ln -s $(pwd)/suanPan-linux-openblas-no-avx/bin/suanPan.sh /usr/bin/suanpan | |
suanpan -v | |
- name: Publish | |
run: | | |
git fetch origin | |
git config --global user.name "Theodore Chang" | |
git config --global user.email "tlcfem@gmail.com" | |
git pull | |
mike deploy 3.6 | |
git push origin gh-pages |