Skip to content

Commit

Permalink
[ci] use flag '--allow-releaseinfo-change' in some 'apt-get update' c…
Browse files Browse the repository at this point in the history
…alls (#4524)

* [ci] prefer 'apt update' to 'apt-get update' in some R builds

* use --allow-releaseinfo-change
  • Loading branch information
jameslamb authored Aug 17, 2021
1 parent 86ead20 commit fbbe3cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/r_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
- name: Install Git before checkout
shell: bash
run: |
apt-get update
apt-get update --allow-releaseinfo-change
apt-get install --no-install-recommends -y git
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
- name: Install Git before checkout
shell: bash
run: |
apt-get update
apt-get update --allow-releaseinfo-change
apt-get install --no-install-recommends -y git
- name: Checkout repository
uses: actions/[email protected]
Expand Down

0 comments on commit fbbe3cc

Please sign in to comment.