Skip to content

Commit

Permalink
patch the environment file to pin Julia to 1.9.5 + git syntax fix
Browse files Browse the repository at this point in the history
git syntax fixes - quotes around sign in, default upstream is origin

modify mac sed command because apparently the syntax is different thanks stackoverflow https://stackoverflow.com/a/19457213

switch julia to 1.9.1 in CI
  • Loading branch information
JacksonBurns committed Feb 8, 2024
1 parent 551c3eb commit fddacbf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
uses: actions/checkout@v3

# configures the mamba environment manager and builds the environment
- name: Patch Environment File
run: sed -i '' 's/ - conda-forge::julia>=1.8.5,!=1.9.0/ - conda-forge::julia=1.9.1/' environment.yml
- name: Setup Mambaforge Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down Expand Up @@ -112,6 +114,8 @@ jobs:
uses: actions/checkout@v3

# configures the mamba environment manager and builds the environment
- name: Patch Environment File
run: sed -i 's/ - conda-forge::julia>=1.8.5,!=1.9.0/ - conda-forge::julia=1.9.1/' environment.yml
- name: Setup Mambaforge Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Patch Environment File
run: sed -i 's/ - conda-forge::julia>=1.8.5,!=1.9.0/ - conda-forge::julia=1.9.1/' environment.yml
- name: Setup Mambaforge Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down Expand Up @@ -59,8 +61,8 @@ jobs:
- name: Make documentation - to publish
if: ${{ github.event_name == 'push' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }}
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config user.name "github-actions"
git config user.email "github-actions@github.com"
cd documentation
make html
- name: Check documentation links
Expand All @@ -72,4 +74,4 @@ jobs:
if: ${{ github.event_name == 'push' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }}
run: |
touch build/html/.nojekyll
cd build/html; git add -A .; git commit -m "Automated documentation rebuild"; git push official gh-pages
cd build/html; git add -A .; git commit -m "Automated documentation rebuild"; git push origin gh-pages

0 comments on commit fddacbf

Please sign in to comment.