We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cache-apt-pkgs-action
1 parent 804de92 commit 48e6dfdCopy full SHA for 48e6dfd
.github/workflows/main.yml
@@ -27,10 +27,16 @@ jobs:
27
- uses: actions/checkout@v3
28
29
- if: matrix.os == 'ubuntu-20.04'
30
- name: Install Linux packages
31
- run: |
32
- sudo apt update
33
- sudo apt install -y clang zlib1g-dev libkrb5-dev libtinfo5
+ name: Set up Linux dependencies
+ uses: awalsh128/cache-apt-pkgs-action@latest
+ with:
+ packages: clang zlib1g-dev libkrb5-dev libtinfo5
34
+ # Increment to invalidate the cache
35
+ version: 1.0
36
+ # Enables a workaround to attempt to run pre and post install scripts
37
+ execute_install_scripts: true
38
+ # Disables uploading logs as a build artifact
39
+ debug: false
40
41
- name: Setup .NET
42
uses: actions/setup-dotnet@v3
0 commit comments