Skip to content

Commit 0be86d0

Browse files
committed
fix: failing workflows because of wrong rv install command
1 parent a45c5a5 commit 0be86d0

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,24 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
paths-ignore:
7+
- "README.Rmd"
8+
- "docs/**"
9+
- "inst/**"
10+
- "*.md"
11+
- ".github/**"
12+
- "*.json "
13+
- "CITATION.cff"
614
pull_request:
715
branches: [main]
16+
paths-ignore:
17+
- "README.Rmd"
18+
- "docs/**"
19+
- "inst/**"
20+
- "*.md"
21+
- ".github/**"
22+
- "*.json "
23+
- "CITATION.cff"
824

925
concurrency:
1026
group: ${{ github.workflow }}-${{ github.ref_name }}
@@ -23,7 +39,7 @@ jobs:
2339
r-version: "4.5"
2440

2541
- name: Install rv
26-
run: curl -sSL https://raw.githubusercontent.com/A2-ai/rv/refs/heads/main/scripts/install.sh | sh
42+
run: curl -sSL https://raw.githubusercontent.com/A2-ai/rv/refs/heads/main/scripts/install.sh | bash
2743

2844
- name: Sync project Try to install rv (if not already available)
2945
run: rv sync

.github/workflows/generate-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [main]
66
paths:
77
- "docs/**"
8-
- ".github/workflows/docs-pages.yaml"
8+
- ".github/workflows/generate-docs.yml"
99
- "src/package_name/**" # rebuild if API docs change
1010

1111
permissions:
@@ -28,7 +28,7 @@ jobs:
2828
r-version: "4.5"
2929

3030
- name: Install rv
31-
run: curl -sSL https://raw.githubusercontent.com/A2-ai/rv/refs/heads/main/scripts/install.sh | sh
31+
run: curl -sSL https://raw.githubusercontent.com/A2-ai/rv/refs/heads/main/scripts/install.sh | bash
3232

3333
- name: Sync project
3434
run: rv sync

0 commit comments

Comments
 (0)