Skip to content

Commit

Permalink
fix: update repository-path input
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Sep 9, 2024
1 parent 66aae70 commit 72d8019
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bioccheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
repository-path: ${{ github.event.repository.name }}

- name: Run BiocCheck ☣️
uses: insightsengineering/bioc-check-action@v1
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ jobs:
shell: bash

- name: Restore SD cache 💰
if: inputs.install-deps-from-package-repositories == ''
if: >-
inputs.install-deps-from-package-repositories == ''
&& inputs.deps-installation-method == 'staged-dependencies'
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
Expand Down Expand Up @@ -408,7 +410,13 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# Setting repository path to
# ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# causes the following error:
# Error in `get_remote_types(refs)`:
# ! Cannot parse package: teal/.
# ℹ See `?pkgdepends::pkg_refs()` for supported package sources.
repository-path: ${{ github.event.repository.name }}

- name: Install dependencies from package repositories 🗄️
if: inputs.install-deps-from-package-repositories != ''
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,13 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# Setting repository path to
# ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# causes the following error:
# Error in `get_remote_types(refs)`:
# ! Cannot parse package: teal/.
# ℹ See `?pkgdepends::pkg_refs()` for supported package sources.
repository-path: ${{ github.event.repository.name }}

- name: Install R package 🚧
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,13 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# Setting repository path to
# ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# causes the following error:
# Error in `get_remote_types(refs)`:
# ! Cannot parse package: teal/.
# ℹ See `?pkgdepends::pkg_refs()` for supported package sources.
repository-path: ${{ github.event.repository.name }}

- name: Generate man pages 📄
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,13 @@ jobs:
with:
lookup-refs: ${{ inputs.lookup-refs }}
github-token: ${{ steps.github-token.outputs.token }}
repository-path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# Setting repository path to
# ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
# causes the following error:
# Error in `get_remote_types(refs)`:
# ! Cannot parse package: teal/.
# ℹ See `?pkgdepends::pkg_refs()` for supported package sources.
repository-path: ${{ github.event.repository.name }}

- name: Install R package 🚧
run: |
Expand Down

0 comments on commit 72d8019

Please sign in to comment.