Skip to content

Commit

Permalink
revised logic to balance act and gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bburns632 committed Apr 19, 2024
1 parent 4a6a01c commit bdd09b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: If local, apt update
if: ${{ (env.ACT || false) && (matrix.os == 'ubuntu-latest')}}
run: sudo apt update
- name: Install Tidy Ubuntu
if: matrix.os == 'ubuntu-latest'
run: apt update && sudo apt install -y tidy
run: sudo apt install -y tidy
- name: set up R
uses: r-lib/actions/setup-r@v2
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: If local, apt update
if: ${{ (env.ACT || false) && (matrix.os == 'ubuntu-latest')}}
run: sudo apt update
- name: Install Tidy Ubuntu
if: matrix.os == 'ubuntu-latest'
run: apt update && sudo apt install -y tidy
run: sudo apt install -y tidy
- name: set up R
uses: r-lib/actions/setup-r@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/smoke-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ jobs:
uses: r-lib/actions/setup-r@v2
with:
r-version: 'release'
- name: If local, apt update
if: ${{ (env.ACT || false) }}
run: sudo apt update
- name: Install Tidy
run: apt update && sudo apt install -y tidy
- name: Install Deps For Pkgnet & ${{ matrix.test_pkg }}
Expand Down

0 comments on commit bdd09b8

Please sign in to comment.