aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/actions/reusable-prepare-peertube-run/action.yml
blob: aa5b897c9ffd03735c1b526a5296a00ec0ad02dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: "Reusable prepare PeerTube run"
description: "Reusable prepare PeerTube run"

runs:
  using: "composite"

  steps:
    - name: Setup system dependencies
      shell: bash
      run: |
        sudo apt-get install postgresql-client-common redis-tools parallel libimage-exiftool-perl
        wget --quiet --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.3.1-64bit-static.tar.xz"
        tar xf ffmpeg-release-4.3.1-64bit-static.tar.xz
        mkdir -p $HOME/bin
        cp ffmpeg-*/{ffmpeg,ffprobe} $HOME/bin
        echo "$HOME/bin" >> $GITHUB_PATH