Skip to content

Workflow file for this run

name: cc_ffmpeg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_TERM_COLOR: always
on:
workflow_call:
inputs:
pushed_tag:
default: '0'
required: true
type: string
platform:
default: 'ubuntu-latest'
required: true
type: string
target:
default: 'x86_64-unknown-linux-gnu'
required: true
type: string
binary:
default: 'bin'
required: true
type: string
jobs:
cross-release:

Check failure on line 28 in .github/workflows/_ffmpeg.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/_ffmpeg.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
name: publish - ${{ inputs.target }}
runs-on: ${{ inputs.platform }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
echo ${{ inputs.platform }}
# - name: Install dependencies
# run: |
# if [ "${{ inputs.platform }}" = 'ubuntu-latest' ]; then
# sudo apt update
# sudo apt install -y --no-install-recommends clang curl pkg-config yasm nasm
# elif [ "${{ inputs.platform }}" = 'macos-latest' ]; then
# brew install clang curl pkg-config yasm nasm
# elif [ "${{ inputs.platform }}" = 'windows-latest' ]; then
# choco install llvm
# choco install curl
# choco install yasm
# choco install nasm
# fi
# - name: Cargo
# run: |
# curl -fsSL https://sh.rustup.rs | sh -s -- -y
# rustup update nightly && rustup default nightly
# cargo build --release
# - name: Publish
# run: |
# tree -L 3
# env:
# BIN: ${{ inputs.binary }}
# RELEASE_TAG: ${{ inputs.pushed_tag }}
# TOKEN: ${{ secrets.GITHUB_TOKEN }}