Skip to content

Commit 42b2e77

Browse files
committed
Update ci to match tellurium; update version number.
1 parent ddf59f7 commit 42b2e77

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
mainBranch=$(git symbolic-ref refs/remotes/origin/HEAD | cut -d '/' -f 4)
3939
mainBranchHeadRevision=$(git rev-parse refs/remotes/origin/${mainBranch})
4040
echo "mainBranch=$mainBranch" >> $GITHUB_OUTPUT
41-
echo "mainBranchRef=$mainBranchRef" >> $GITHUB_OUTPUT
41+
echo "mainBranchRef=refs/heads/$mainBranch" >> $GITHUB_OUTPUT
4242
echo "mainBranchHeadRevision=$mainBranchHeadRevision" >> $GITHUB_OUTPUT
4343
4444
- name: Checkout ref
@@ -86,7 +86,7 @@ jobs:
8686
python-version: '3.10'
8787

8888
- name: Setup caching for Python packages
89-
uses: actions/cache@v2
89+
uses: actions/cache@v3
9090
with:
9191
path: /opt/hostedtoolcache/Python
9292
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.optional.txt') }}
@@ -227,7 +227,7 @@ jobs:
227227
run: python -m pytest tests/ --cov=./biosimulators_pysces/ --cov-report=xml
228228

229229
- name: Upload the coverage report to Codecov
230-
uses: codecov/codecov-action@v2
230+
uses: codecov/codecov-action@v3
231231
with:
232232
token: ${{ secrets.CODECOV_TOKEN }}
233233
flags: unittests
@@ -293,6 +293,7 @@ jobs:
293293
fi
294294
295295
echo "release=$release" >> $GITHUB_OUTPUT
296+
echo "release=$release"
296297
297298
# If new tag, commit and push documentation
298299
- id: commit-docs
@@ -345,12 +346,8 @@ jobs:
345346
# Install pandoc
346347
sudo apt-get update -y
347348
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
352350
sudo dpkg -i /tmp/pandoc.deb
353-
rm /tmp/pandocVersions.html
354351
rm /tmp/pandoc.deb
355352
356353
# Convert README to .rst format

biosimulators_pysces/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1.26'
1+
__version__ = '0.1.27'

0 commit comments

Comments
 (0)