|
38 | 38 | mainBranch=$(git symbolic-ref refs/remotes/origin/HEAD | cut -d '/' -f 4)
|
39 | 39 | mainBranchHeadRevision=$(git rev-parse refs/remotes/origin/${mainBranch})
|
40 | 40 | echo "mainBranch=$mainBranch" >> $GITHUB_OUTPUT
|
41 |
| - echo "mainBranchRef=$mainBranchRef" >> $GITHUB_OUTPUT |
| 41 | + echo "mainBranchRef=refs/heads/$mainBranch" >> $GITHUB_OUTPUT |
42 | 42 | echo "mainBranchHeadRevision=$mainBranchHeadRevision" >> $GITHUB_OUTPUT
|
43 | 43 |
|
44 | 44 | - name: Checkout ref
|
|
86 | 86 | python-version: '3.10'
|
87 | 87 |
|
88 | 88 | - name: Setup caching for Python packages
|
89 |
| - uses: actions/cache@v2 |
| 89 | + uses: actions/cache@v3 |
90 | 90 | with:
|
91 | 91 | path: /opt/hostedtoolcache/Python
|
92 | 92 | key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.optional.txt') }}
|
@@ -227,7 +227,7 @@ jobs:
|
227 | 227 | run: python -m pytest tests/ --cov=./biosimulators_pysces/ --cov-report=xml
|
228 | 228 |
|
229 | 229 | - name: Upload the coverage report to Codecov
|
230 |
| - uses: codecov/codecov-action@v2 |
| 230 | + uses: codecov/codecov-action@v3 |
231 | 231 | with:
|
232 | 232 | token: ${{ secrets.CODECOV_TOKEN }}
|
233 | 233 | flags: unittests
|
@@ -293,6 +293,7 @@ jobs:
|
293 | 293 | fi
|
294 | 294 |
|
295 | 295 | echo "release=$release" >> $GITHUB_OUTPUT
|
| 296 | + echo "release=$release" |
296 | 297 |
|
297 | 298 | # If new tag, commit and push documentation
|
298 | 299 | - id: commit-docs
|
@@ -345,12 +346,8 @@ jobs:
|
345 | 346 | # Install pandoc
|
346 | 347 | sudo apt-get update -y
|
347 | 348 | sudo apt-get install -y --no-install-recommends wget
|
348 |
| -
|
349 |
| - wget https://github.com/jgm/pandoc/releases -O /tmp/pandocVersions.html |
350 |
| - urlPart=`grep "\.deb" /tmp/pandocVersions.html | head -n 1 | cut -d'/' -f2-7 | cut -d'"' -f1` |
351 |
| - wget "https://github.com/$urlPart" -O /tmp/pandoc.deb |
| 349 | + wget "https://github.com/jgm/pandoc/releases/download/3.1.3/pandoc-3.1.3-1-amd64.deb" -O /tmp/pandoc.deb |
352 | 350 | sudo dpkg -i /tmp/pandoc.deb
|
353 |
| - rm /tmp/pandocVersions.html |
354 | 351 | rm /tmp/pandoc.deb
|
355 | 352 |
|
356 | 353 | # Convert README to .rst format
|
|
0 commit comments