]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
GitHub actions improvements
authorFlole998 <Flole998@users.noreply.github.com>
Mon, 11 Apr 2022 04:01:18 +0000 (06:01 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Apr 2022 04:01:18 +0000 (06:01 +0200)
.github/workflows/build.yml

index 5efc7c30dc0424cc08dbcc3c131044643ad1d367..abe2d7f6db2218a16e373b52d0c96f1a0d73a1d9 100644 (file)
@@ -6,6 +6,9 @@ on:
   pull_request:
     branches: [ master ]
 
+  # Allows you to run this workflow manually from the Actions tab
+  workflow_dispatch:
+
 jobs:
   build:
 
@@ -14,6 +17,8 @@ jobs:
     steps:
     - uses: actions/checkout@v3
     - name: dependencies
-      run: sudo apt-get install -y cmake git build-essential pkg-config gettext libavahi-client-dev libssl-dev zlib1g-dev wget bzip2 git-core liburiparser-dev libpcre2-dev libdvbcsa-dev python3 python3-requests debhelper ccache
+      run: |
+        sudo apt-get update
+        sudo apt-get install -y cmake git build-essential pkg-config gettext libavahi-client-dev libssl-dev zlib1g-dev wget bzip2 git-core liburiparser-dev libpcre2-dev libdvbcsa-dev python3 python3-requests debhelper ccache
     - name: build
-      run: AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static\\ --python=python3 ./Autobuild.sh
+      run: AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\ --enable-ffmpeg_static\ --enable-hdhomerun_static\ --python=python3 ./Autobuild.sh