[PR #1231] [MERGED] Build via github actions #1650

Closed
opened 2026-02-26 03:31:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/1231
Author: @SvanteRichter
Created: 6/9/2020
Status: Merged
Merged: 7/15/2020
Merged by: @phanan

Base: masterHead: master


📝 Commits (1)

  • 3526837 Try release via GH actions

📊 Changes

2 files changed (+73 additions, -3 deletions)

View changed files

.github/workflows/release.yml (+61 -0)
📝 app/Console/Commands/InitCommand.php (+12 -3)

📄 Description

This adds a build step on pushed tags that will install all dependencies and run the assets build step, zip/tar up the result and create a release draft. That draft can then have the release notes added and published which will then contain zip/tar versions that are ready to use.

It also adds a option to the init command to not build the assets, which removes the install dependency on yarn/node.

The zip/tar files come with sqlite configured as the default db, mostly because that is the only one without runtime dependencies.

The point of this is to enable people to get going with koel without git/composer/node/yarn, so that a basic install can be run with only php as

curl -LO https://github.com/SahAssar/koel/releases/download/v0.0.7-beta3/koel-v0.0.7-beta2.zip
unzip koel-v0.0.7-beta2.zip
cd koel
touch koel.db
php artisan koel:init --no-assets
php artisan serve

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/1231 **Author:** [@SvanteRichter](https://github.com/SvanteRichter) **Created:** 6/9/2020 **Status:** ✅ Merged **Merged:** 7/15/2020 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`3526837`](https://github.com/koel/koel/commit/35268374325393b5ac0f29b76d0e54e5a5fea494) Try release via GH actions ### 📊 Changes **2 files changed** (+73 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/release.yml` (+61 -0) 📝 `app/Console/Commands/InitCommand.php` (+12 -3) </details> ### 📄 Description This adds a build step on pushed tags that will install all dependencies and run the assets build step, zip/tar up the result and create a release draft. That draft can then have the release notes added and published which will then contain zip/tar versions that are ready to use. It also adds a option to the init command to not build the assets, which removes the install dependency on yarn/node. The zip/tar files come with sqlite configured as the default db, mostly because that is the only one without runtime dependencies. The point of this is to enable people to get going with koel without git/composer/node/yarn, so that a basic install can be run with only php as curl -LO https://github.com/SahAssar/koel/releases/download/v0.0.7-beta3/koel-v0.0.7-beta2.zip unzip koel-v0.0.7-beta2.zip cd koel touch koel.db php artisan koel:init --no-assets php artisan serve --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:31:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1650
No description provided.