mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: use awalsh128/cache-apt-pkgs-action@v1.5.3 instead of a manual apt update/apt install step, to leverage caching more
This commit is contained in:
parent
2c392f848b
commit
0bd16c2938
1 changed files with 6 additions and 7 deletions
13
.github/workflows/puzzle_vibes_ci.yml
vendored
13
.github/workflows/puzzle_vibes_ci.yml
vendored
|
@ -29,16 +29,15 @@ jobs:
|
|||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Install SDL2 dependencies
|
||||
- uses: awalsh128/cache-apt-pkgs-action@v1.5.3
|
||||
with:
|
||||
packages: libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
|
||||
version: 1.0
|
||||
|
||||
- name: Build V
|
||||
run: make && ./v symlink
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
.github/workflows/disable_azure_mirror.sh
|
||||
v retry 'sudo apt update'
|
||||
v retry 'sudo apt install -y libsdl2-dev libsdl2-ttf-dev'
|
||||
v retry 'sudo apt install -y libsdl2-mixer-dev libsdl2-image-dev'
|
||||
|
||||
- name: Install & Setup SDL
|
||||
run: v retry -- v install sdl && v ~/.vmodules/sdl/setup.vsh
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue