Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/do-not-submit-any-issue-here.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
name: Do not submit any issue here
about: Please go to the `OpenList` repo if you have issues to submit.
title: Do not submit any issue here
labels: ''
assignees: ''

labels: ""
assignees: ""
---


79 changes: 79 additions & 0 deletions .github/workflows/build_media.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# This workflow builds a media branch version of the OpenList frontend and publishes it on GitHub.
#
# This will:
#
# - Upload the release assets to GitHub (always git tagged `beta-media`).
#
# This workflow can be triggered on pushes to the `dev-media` branch, or manually via the GitHub Actions UI.

name: Media Build

on:
push:
branches:
- dev-media
workflow_dispatch:
inputs:
draft:
description: "Create draft release"
required: false
default: true
type: boolean

jobs:
media:
name: Media Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
submodules: recursive

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "22"
registry-url: "https://registry.npmjs.org"

- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false

- name: Build Media Pre-release
run: |
chmod +x build.sh
./build.sh --dev --compress
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

- name: Read version and determine tag name
id: version
run: |
version=$(cat dist/VERSION)
echo "version=$version" >> $GITHUB_OUTPUT
echo "tag_name=beta-media" >> $GITHUB_OUTPUT

- name: Remove the existing pre-release
run: gh release delete ${{ steps.version.outputs.tag_name }} --cleanup-tag --yes || true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish media pre-release on GitHub
run: |
gh release create \
--title "Media Pre-release ${{ steps.version.outputs.version }}" \
--notes "Media branch pre-release build for ${{ steps.version.outputs.version }}<br>This is a development build for the media library feature and not intended for production use." \
--prerelease \
--draft=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.draft || false }} \
${{ steps.version.outputs.tag_name }} \
dist/openlist-frontend-dist-v*-*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: write
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@types/sha256": "^0.2.2",
"@types/streamsaver": "^2.0.5",
"@vitejs/plugin-legacy": "^8.0.1",
"baseline-browser-mapping": "^2.10.29",
"cross-env": "^10.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
Expand All @@ -66,6 +67,7 @@
"@embedpdf/snippet": "^2.14.1",
"@github/webauthn-json": "^2.1.1",
"@hope-ui/solid": "0.6.7",
"@mediabunny/ac3": "^1.40.1",
"@jellyfin/libass-wasm": "^4.2.4",
"@monaco-editor/loader": "1.7.0",
"@solid-primitives/i18n": "^2.2.1",
Expand Down Expand Up @@ -96,6 +98,7 @@
"libheif-js": "^1.19.8",
"lightgallery": "^2.9.0",
"mark.js": "^8.11.1",
"mediabunny": "^1.40.1",
"mitt": "^3.0.1",
"monaco-editor": "0.55.1",
"mpegts.js": "^1.8.0",
Expand Down
Loading
Loading