run 'apt update' before running other apt operations

This commit is contained in:
Michael Quigley 2023-06-05 18:00:16 -04:00
parent a2df30a8bd
commit cde59084a6
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -13,6 +13,7 @@ jobs:
build-linux-amd64: build-linux-amd64:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- run: sudo apt update
- run: sudo apt-get install gcc-multilib g++-multilib - run: sudo apt-get install gcc-multilib g++-multilib
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -54,6 +55,7 @@ jobs:
build-linux-arm64: build-linux-arm64:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- run: sudo apt update
- run: sudo apt-get install gcc-aarch64-linux-gnu - run: sudo apt-get install gcc-aarch64-linux-gnu
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -95,6 +97,7 @@ jobs:
build-linux-arm: build-linux-arm:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- run: sudo apt update
- run: sudo apt-get install gcc-arm-linux-gnueabi - run: sudo apt-get install gcc-arm-linux-gnueabi
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -187,6 +190,7 @@ jobs:
build-windows: build-windows:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: sudo apt update
- run: sudo apt-get install gcc-mingw-w64-x86-64 - run: sudo apt-get install gcc-mingw-w64-x86-64
- uses: actions/checkout@v3 - uses: actions/checkout@v3