Skip to content

Workflow file for this run

name: Install Vidmerger
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y wget
- name: Install dependencies (MacOS)
if: runner.os == 'macos'
run: |
brew install wget
- name: Install dependencies (Windows)
if: runner.os == 'windows'
run: |
# Install Chocolatey package manager (one-time setup)
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::Expect100Continue = $false; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) -NoProfile -AllowUntrustedRepos; choco config add source chocolateycommunity
# Install dependencies using Chocolatey
choco install curl
- name: Download Vidmerger (Linux-ARM)
if: runner.os == 'Linux' && architecture == 'arm64'

Check failure on line 35 in .github/workflows/install.yml

View workflow run for this annotation

GitHub Actions / Install Vidmerger

Invalid workflow file

The workflow is not valid. .github/workflows/install.yml (Line: 35, Col: 13): Unrecognized named-value: 'architecture'. Located at position 25 within expression: runner.os == 'Linux' && architecture == 'arm64' .github/workflows/install.yml (Line: 40, Col: 13): Unrecognized named-value: 'architecture'. Located at position 25 within expression: runner.os == 'Linux' && architecture != 'arm64'
run: |
sudo wget -c https://github.com/bonny1992/vidmerger/releases/latest/download/vidmerger-linux-arm64.tar.gz -P /tmp && sudo tar -xzvf /tmp/vidmerger-linux-arm64.tar.gz -C /usr/local/bin
- name: Download Vidmerger (Linux-x86)
if: runner.os == 'Linux' && architecture != 'arm64'
run: |
sudo wget -c https://github.com/TGotwig/vidmerger/releases/latest/download/vidmerger-linux.tar.gz -P /tmp && sudo tar -xzvf /tmp/vidmerger-linux.tar.gz -C /usr/local/bin
- name: Download Vidmerger (MacOS)
if: runner.os == 'macos'
run: |
brew tap tgotwig/vidmerger
brew install vidmerger
- name: Download Vidmerger (Windows)
if: runner.os == 'windows'
run: |
curl -L https://github.com/TGotwig/vidmerger/releases/latest/download/vidmerger.exe -o C:\vidmerger.exe
- name: Add Vidmerger to PATH (Windows)
if: runner.os == 'windows'
run: |
echo "C:\vidmerger.exe" >> $env:PATH # Add download directory to PATH
- name: Verify installation
run: |
vidmerger --version