diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c3764495..f912722a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -13,7 +13,8 @@ jobs: run: | .github/workflows/dependencies/documentation.sh echo "Installing python packages for docs..." - pip3 install sphinx sphinx_rtd_theme breathe + python3 -m pip install --upgrade pip + python3 -m pip install sphinx sphinx_rtd_theme breathe sphinxcontrib.bibtex docutils - name: Install and Build run: | @@ -25,12 +26,10 @@ jobs: - name: Deploy if: github.event_name == 'push' && github.repository == 'AMReX-Codes/amrex-tutorials' && github.ref == 'refs/heads/main' - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: JamesIves/github-pages-deploy-action@4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ACCESS_TOKEN: ${{ secrets.DEPLOY_DOCS_TUTORIALS }} - REPOSITORY_NAME: AMReX-Codes/AMReX-Codes.github.io - BRANCH: main # The branch the action should deploy to. - FOLDER: Docs/build/html # The folder the action should deploy. - TARGET_FOLDER: amrex/tutorials_html # The folder the action should deploy to. - CLEAN: false # Do not remove existing files from the deploy target. + ssh-key: ${{ secrets.DEPLOY_KEY }} + branch: main # The branch the action should deploy to. + folder: Docs/build/html # The folder the action should deploy. + target_folder: amrex/tutorials_html # The folder the action should deploy to. + clean: false # Do not remove existing files from the deploy target. diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 88c57b45..8db8fecc 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies.sh - name: Build & Install @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-Werror -Wno-error=deprecated-declarations -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_gcc10.sh - name: Build & Install @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_clang6.sh - name: Build & Install @@ -111,7 +111,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies.sh - name: Build & Install @@ -142,7 +142,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_nofortran.sh - name: Build & Install @@ -171,7 +171,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_nvcc11.sh - name: Build & Install @@ -205,7 +205,7 @@ jobs: runs-on: ubuntu-20.04 env: {CXXFLAGS: "-fno-operator-names"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_dpcpp.sh - name: Build & Install @@ -248,7 +248,7 @@ jobs: # #define select_impl_(_1, _2, impl_, ...) impl_ env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wno-deprecated-declarations -Wno-gnu-zero-variadic-macro-arguments -Wno-pass-failed"} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_hip.sh - name: Build & Install diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9cc00e48..48d3fdcd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -11,7 +11,7 @@ jobs: name: AppleClang@14.0 GFortran@12.2 [tutorials] runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/dependencies/dependencies_mac.sh - name: Build & Install