mirror of
https://github.com/onsonr/nebula.git
synced 2025-03-10 17:29:11 +00:00
Added Devbox configuration and build steps to the release workflow.
This commit is contained in:
parent
165956a803
commit
2b8728d257
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -10,6 +10,18 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Devbox
|
||||
uses: jetpack-io/devbox-install-action@v0.7.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: devbox install
|
||||
|
||||
- name: Build
|
||||
run: devbox run build
|
||||
|
||||
- uses: ryand56/r2-upload-action@latest
|
||||
with:
|
||||
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
|
||||
|
10
devbox.json
Normal file
10
devbox.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
|
||||
"packages": ["bun@latest"],
|
||||
"shell": {
|
||||
"init_hook": ["echo 'Welcome to devbox!' > /dev/null"],
|
||||
"scripts": {
|
||||
"build": ["bun run build"]
|
||||
}
|
||||
}
|
||||
}
|
53
devbox.lock
Normal file
53
devbox.lock
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
"lockfile_version": "1",
|
||||
"packages": {
|
||||
"bun@latest": {
|
||||
"last_modified": "2024-07-11T00:17:14Z",
|
||||
"resolved": "github:NixOS/nixpkgs/212defe037698e18fc9521dfe451779a8979844c#bun",
|
||||
"source": "devbox-search",
|
||||
"version": "1.1.18",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/2alxy6rkmynwbaxifj2qfxz5gsldq92h-bun-1.1.18",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/2alxy6rkmynwbaxifj2qfxz5gsldq92h-bun-1.1.18"
|
||||
},
|
||||
"aarch64-linux": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/xia96m3f8rylfwx9ng5ksj0p8qr7pp1d-bun-1.1.18",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/xia96m3f8rylfwx9ng5ksj0p8qr7pp1d-bun-1.1.18"
|
||||
},
|
||||
"x86_64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/48727mm1s315346nb5f7hnm12fskw8g3-bun-1.1.18",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/48727mm1s315346nb5f7hnm12fskw8g3-bun-1.1.18"
|
||||
},
|
||||
"x86_64-linux": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/mm77l2fg0lj5zx3i8lsms9lgdbgg7gm2-bun-1.1.18",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/mm77l2fg0lj5zx3i8lsms9lgdbgg7gm2-bun-1.1.18"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user