Skip to content

increment actions versions #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions .github/workflows/deploy_docu_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,19 @@ jobs:

steps:
- name: Check out the repo containing the docu source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Check out the repo containing the python pkg DoubleML (dev)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: DoubleML/doubleml-for-py
path: doubleml-for-py

- name: Install SSH Client for deploying the docu to github pages
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}

- name: Install graphviz
run: sudo apt-get install graphviz

- name: Install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies and the python package
Expand Down Expand Up @@ -69,7 +64,7 @@ jobs:
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: doubleml-user-guide-dev-${{ hashFiles('.github/R-version') }}
Expand All @@ -87,13 +82,13 @@ jobs:
make -C doc html # build docu

- name: Deploy to dev
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4
with:
REPOSITORY_NAME: DoubleML/doubleml.github.io
BRANCH: main
FOLDER: doc/_build/html
TARGET_FOLDER: dev
GIT_CONFIG_NAME: DoubleML Deploy Bot
GIT_CONFIG_EMAIL: [email protected]
CLEAN: true
SSH: true
repository-name: DoubleML/doubleml.github.io
branch: main
folder: doc/_build/html
target-folder: dev
git-config-name: DoubleML Deploy Bot
git-config-email: [email protected]
clean: true
ssh-key: ${{ secrets.DEPLOY_KEY }}
29 changes: 12 additions & 17 deletions .github/workflows/deploy_docu_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@ jobs:

steps:
- name: Check out the repo containing the docu source
uses: actions/checkout@v2

- name: Install SSH Client for deploying the docu to github pages
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
uses: actions/checkout@v3

- name: Install graphviz
run: sudo apt-get install graphviz

- name: Install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies and the python package
Expand Down Expand Up @@ -55,7 +50,7 @@ jobs:
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: doubleml-user-guide-stable-${{ hashFiles('.github/R-version') }}
Expand All @@ -73,13 +68,13 @@ jobs:
make -C doc html # build docu

- name: Deploy to stable
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4
with:
REPOSITORY_NAME: DoubleML/doubleml.github.io
BRANCH: main
FOLDER: doc/_build/html
TARGET_FOLDER: stable
GIT_CONFIG_NAME: DoubleML Deploy Bot
GIT_CONFIG_EMAIL: [email protected]
CLEAN: true
SSH: true
repository-name: DoubleML/doubleml.github.io
branch: main
folder: doc/_build/html
target-folder: stable
git-config-name: DoubleML Deploy Bot
git-config-email: [email protected]
clean: true
ssh-key: ${{ secrets.DEPLOY_KEY }}
12 changes: 6 additions & 6 deletions .github/workflows/test_build_docu_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:

steps:
- name: Check out the repo containing the docu source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Check out the repo containing the python pkg DoubleML (dev)
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: DoubleML/doubleml-for-py
path: doubleml-for-py

- name: Check out the repo containing the python pkg DoubleML (dev)
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: DoubleML/doubleml-for-py
path: doubleml-for-py
Expand All @@ -53,7 +53,7 @@ jobs:
run: sudo apt-get install graphviz

- name: Install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies and the python package
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: doubleml-test-build-dev-${{ hashFiles('.github/R-version') }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
make -C doc linkcheck

- name: Upload html artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build_html
path: doc/_build/html/
8 changes: 4 additions & 4 deletions .github/workflows/test_build_docu_released.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:

steps:
- name: Check out the repo containing the docu source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install graphviz
run: sudo apt-get install graphviz

- name: Install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies and the python package
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: doubleml-test-build-stable-${{ hashFiles('.github/R-version') }}
Expand All @@ -80,7 +80,7 @@ jobs:
make -C doc linkcheck

- name: Upload html artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build_html
path: doc/_build/html/