Skip to content

Commit

Permalink
fix(workflows): run apt-get update before install (#1305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coronon committed Oct 29, 2022
1 parent f689777 commit 48cc832
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/connectivity_plus.yaml
Expand Up @@ -156,7 +156,7 @@ jobs:
- name: "Install Tools"
run: ./.github/workflows/scripts/install-tools.sh
- name: "Install NetworkManager"
run: sudo apt-get install -y network-manager
run: sudo apt-get update && sudo apt-get install -y network-manager
- name: "Run Integration Test"
run: ./.github/workflows/scripts/integration-test.sh linux connectivity_plus_example

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scripts/build-examples.sh
Expand Up @@ -37,6 +37,7 @@ fi
if [ "$ACTION" == "linux" ]
then
melos bootstrap --scope="$PLUGIN_SCOPE"
sudo apt-get update
sudo apt-get install ninja-build libgtk-3-dev
flutter doctor -v
melos exec -c 1 --scope="$PLUGIN_EXAMPLE_SCOPE" \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scripts/integration-test.sh
Expand Up @@ -13,6 +13,7 @@ fi

if [ "$ACTION" == "linux" ]
then
sudo apt-get update
sudo apt-get install ninja-build libgtk-3-dev
# Testrunner is headless. Required create virtual display for the linux tests to run.
export DISPLAY=:99
Expand Down

0 comments on commit 48cc832

Please sign in to comment.