Skip to content

build.yaml: update actions and rename release file #92

build.yaml: update actions and rename release file

build.yaml: update actions and rename release file #92

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
inputs:
tag:
description: 'which tag to create and release?'
required: true
default: 'v100'
jobs:
build:
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
- name: Build portable
shell: pwsh
run: .\make_portable.ps1
- name: Compress release
shell: cmd
run:
7z a -t7z -mx=3 vapoursynth_portable_release_${{ github.event.inputs.tag }}.7z VapourSynth
- name: Upload release
uses: actions/upload-artifact@v4
with:
name: release
path: |
vapoursynth_portable_release_${{ github.event.inputs.tag }}.7z
- name: Release
if: github.event_name == 'workflow_dispatch' && github.event.inputs.tag != ''
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.event.inputs.tag }}
files: vapoursynth_portable_release_${{ github.event.inputs.tag }}.7z
fail_on_unmatched_files: true
generate_release_notes: false
prerelease: true