Update GH actions workflow

This commit is contained in:
kimocoder 2023-04-02 13:01:14 +02:00
parent 9d5c4aac62
commit fe71d83686

View File

@ -9,7 +9,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Avoid 0x0BDA
#Find devices that not use 0x0BDA instead of const USB_VENDOR_ID_REALTEK
run: grep -c -i "0x0BDA" os_dep/linux/usb_intf.c | grep -w 1
@ -27,7 +27,7 @@ jobs:
needs: commontasks
strategy:
fail-fast: false
matrix:
matrix:
version: ${{fromJson(needs.commontasks.outputs.matrix)}}
#version: [4.9.248, 4.4.248]
include:
@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: install deb packages
env:
env:
VERSION: ${{matrix.version }}
if: ${{ !matrix.use_apt }}
run: |
@ -58,6 +58,6 @@ jobs:
run: |
sudo apt-get install linux-headers-$(uname -r)
echo "KVER=${{matrix.version }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: build
run: make KVER=$KVER