Skip to content

Commit

Permalink
Merge pull request #50 from traylenator/update
Browse files Browse the repository at this point in the history
Always refresh apt metadata
  • Loading branch information
bastelfreak authored Jan 24, 2024
2 parents b66ada4 + ea3ac5c commit 9217ba1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
- uses: actions/checkout@v4
- name: install additional packages
if: ${{ inputs.additional_packages != '' }}
run: sudo apt-get install -y ${{ inputs.additional_packages }}
run: |
sudo apt-get update
sudo apt-get install -y ${{ inputs.additional_packages }}
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand Down Expand Up @@ -121,7 +123,9 @@ jobs:
- uses: actions/checkout@v4
- name: install additional packages
if: ${{ inputs.additional_packages != '' }}
run: sudo apt-get install -y ${{ inputs.additional_packages }}
run: |
sudo apt-get update
sudo apt-get install -y ${{ inputs.additional_packages }}
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand Down Expand Up @@ -150,10 +154,13 @@ jobs:
- uses: actions/checkout@v4
- name: install additional packages
if: ${{ inputs.additional_packages != '' }}
run: sudo apt-get install -y ${{ inputs.additional_packages }}
run: |
sudo apt-get update
sudo apt-get install -y ${{ inputs.additional_packages }}
- name: Setup libvirt for Vagrant
if: ${{ inputs.beaker_hypervisor == 'vagrant_libvirt' }}
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends vagrant vagrant-libvirt libvirt-clients libvirt-daemon-system libvirt-daemon qemu qemu-system-x86 qemu-utils
sudo chmod 666 /var/run/libvirt/libvirt-sock
- name: Setup ruby
Expand Down

0 comments on commit 9217ba1

Please sign in to comment.