Skip to content

Commit 2db2320

Browse files
committed
Fixing CI for push to main
1 parent 579625c commit 2db2320

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/documentation.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
steps:
1414
- name: Checkout github repo
1515
uses: actions/checkout@v2
16-
- name: Upgrade pip
17-
run: |
18-
pip install --upgrade pip
1916
- name: Cache pip
2017
uses: actions/cache@v2
2118
with:
@@ -25,14 +22,11 @@ jobs:
2522
restore-keys: |
2623
${{ runner.os }}-pip-
2724
${{ runner.os }}-
28-
- name: Install package
29-
run: |
30-
pip install -e .
3125
# Standard drop-in approach that should work for most people.
3226
- name: Build docs
3327
uses: ammaraskar/sphinx-action@master
3428
with:
35-
pre-build-command: "apt-get update -y && apt-get install --reinstall -y build-essential && apt-get install -y g++ && apt-get install -y gfortran && apt-get install -y pandoc && pip install --upgrade pip"
29+
pre-build-command: "apt-get --allow-releaseinfo-change update -y && apt-get install -y g++ && apt-get install -y gfortran && apt-get install -y pandoc"
3630
docs-folder: "docs/"
3731
# Create an artifact of the html output.
3832
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)