-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Spooky cleaning 🎃 2023 * Update TensorFlow
- Loading branch information
1 parent
42549d6
commit 29fd3ff
Showing
5 changed files
with
40 additions
and
24 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ jobs: | |
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -38,14 +40,15 @@ jobs: | |
shell: Rscript {0} | ||
|
||
- name: Install Miniconda | ||
run: | | ||
reticulate::install_miniconda() | ||
# conda can fail at downgrading python, so we specify python version in advance | ||
env: | ||
RETICULATE_MINICONDA_PYTHON_VERSION: "3.7" | ||
run: reticulate::install_miniconda() # creates r-reticulate conda env by default | ||
shell: Rscript {0} | ||
|
||
- name: Install TensorFlow | ||
run: | | ||
reticulate::conda_create('r-reticulate', packages = c('python==3.6.9')) | ||
tensorflow::install_tensorflow(version='2.4.0') | ||
tensorflow::install_tensorflow(version='2.7', conda_python_version = NULL) | ||
shell: Rscript {0} | ||
|
||
- name: Build site | ||
|
@@ -54,7 +57,7 @@ jobs: | |
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected].4 | ||
uses: JamesIves/github-pages-deploy-action@v4.4.1 | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
YEAR: 2022 | ||
YEAR: 2023 | ||
COPYRIGHT HOLDER: bundle authors |
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