]> git.nega.tv - josh/narcissus/commitdiff
Update apt cache before installing deps
authorJosh Simmons <josh@nega.tv>
Sun, 25 Sep 2022 16:00:13 +0000 (18:00 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Sep 2022 16:00:13 +0000 (18:00 +0200)
apt-get install will randomly fail if you don't update the cache beforehand.

.github/workflows/rust.yml

index c7c0f59a1848871f572adf8bf22e04a1ec4caaae..2eda12c3addbf9f916fe88a9e91e9f2e5297a287 100644 (file)
@@ -20,6 +20,7 @@ jobs:
         make-default: false
     - name: install_dependencies
       run: |
+        sudo apt-get update
         sudo apt-get install libsdl2-dev clang llvm
     - uses: actions/checkout@v3
     - name: Build