Skip to content

Merge pull request #708 from red5pro/bug/RED5DEV-2013 #18

Merge pull request #708 from red5pro/bug/RED5DEV-2013

Merge pull request #708 from red5pro/bug/RED5DEV-2013 #18

Workflow file for this run

name: Release build (tag)
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
archive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- run: npm ci
- run: npm run build
- name: Rename dist → moqexamples and package
env:
TAG: ${{ github.ref_name }}
run: |
set -euxo pipefail
mv dist moqexamples
tar -czvf "streaming-html-${TAG}.tar.gz" webrtcexamples
zip -rq "streaming-html-${TAG}.zip" webrtcexamples
- name: Upload archives to GitHub Release
uses: softprops/action-gh-release@v2
with:
files: |
streaming-html-${{ github.ref_name }}.tar.gz
streaming-html-${{ github.ref_name }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}