-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 856 Bytes
/
alsa-firmware.yml
File metadata and controls
32 lines (27 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Arch Linux alsa-firmware
on: workflow_dispatch
jobs:
setup-run:
runs-on: ubuntu-latest
container:
image: archlinux:latest
volumes:
- /etc/machine-id:/etc/machine-id
steps:
- uses: actions/checkout@v3
- name: Initialize Pacman keyring
run: pacman-key --init && pacman-key --populate
- name: Upgrade system and install Python package
run: pacman -Syu --noconfirm python
- name: Download Linux kernel package
run: pacman -Swdd --noconfirm linux
- name: Extract Linux kernel package sound directory
run: |
bsdtar xf \
$(pacman -Spdd linux | cut -d / -f 3-) \
'usr/lib/modules/*/kernel/sound/'
working-directory: /
- name: Sync files database
run: pacman -Fy
- name: Run Python script
run: python src/alsa-firmware.py