Skip to content

Commit ee4d267

Browse files
authored
remove redundant branches and update apt-get commands
- use `--no-install-recommends` - adhere to actions/runner-images#2924
1 parent 4963633 commit ee4d267

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/update.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Update docs and demo
22
on:
33
push:
4-
branches:
5-
- '**'
64
paths-ignore:
75
- 'README.md'
86
- 'demo/snake.com'
@@ -21,7 +19,8 @@ jobs:
2119
steps:
2220
- uses: actions/checkout@v4
2321
- run: |
24-
sudo apt-get install qrencode nasm python3 -y > /dev/null
22+
sudo apt-get update
23+
sudo apt-get install qrencode nasm python3 -y --no-install-recommends > /dev/null
2524
nasm snake.asm -o demo/snake.com
2625
gcc -Os -w -xc - <<< "main;"
2726
xxd -p demo/snake.com | python3 docs/update.py

0 commit comments

Comments
 (0)