Preview build - 9a80290097aa107c225fb1ce128056cf46b9bf92 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Preview build | |
run-name: "Preview build - ${{ inputs.ref }}" | |
on: | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: A git ref on the Streamlink git repo | |
default: master | |
required: true | |
type: string | |
jobs: | |
build: | |
name: "${{ inputs.ref }} (${{ matrix.build }})" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- build: installer | |
- build: portable | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
./install-build-dependencies.sh | |
- name: Build | |
run: | | |
"./build-${{ matrix.build }}.sh" "" "" "${{ inputs.ref }}" | |
- name: Get file name | |
id: vars | |
run: | | |
echo "file_name=$(cd dist && ls *.*)" >> $GITHUB_OUTPUT | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.vars.outputs.file_name }} | |
path: dist/* |