This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit bdd09b8 committed Apr 19, 2024 · 6 / 6
1 parent 4a6a01c commit bdd09b8 Copy full SHA for bdd09b8
File tree 3 files changed +11
-2
lines changed
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 26
26
uses : actions/checkout@v4
27
27
with :
28
28
fetch-depth : 1
29
+ - name : If local, apt update
30
+ if : ${{ (env.ACT || false) && (matrix.os == 'ubuntu-latest')}}
31
+ run : sudo apt update
29
32
- name : Install Tidy Ubuntu
30
33
if : matrix.os == 'ubuntu-latest'
31
- run : apt update && sudo apt install -y tidy
34
+ run : sudo apt install -y tidy
32
35
- name : set up R
33
36
uses : r-lib/actions/setup-r@v2
34
37
with :
Original file line number Diff line number Diff line change 41
41
uses : actions/checkout@v4
42
42
with :
43
43
fetch-depth : 1
44
+ - name : If local, apt update
45
+ if : ${{ (env.ACT || false) && (matrix.os == 'ubuntu-latest')}}
46
+ run : sudo apt update
44
47
- name : Install Tidy Ubuntu
45
48
if : matrix.os == 'ubuntu-latest'
46
- run : apt update && sudo apt install -y tidy
49
+ run : sudo apt install -y tidy
47
50
- name : set up R
48
51
uses : r-lib/actions/setup-r@v2
49
52
with :
Original file line number Diff line number Diff line change 84
84
uses : r-lib/actions/setup-r@v2
85
85
with :
86
86
r-version : ' release'
87
+ - name : If local, apt update
88
+ if : ${{ (env.ACT || false) }}
89
+ run : sudo apt update
87
90
- name : Install Tidy
88
91
run : apt update && sudo apt install -y tidy
89
92
- name : Install Deps For Pkgnet & ${{ matrix.test_pkg }}
You can’t perform that action at this time.
0 commit comments