17 Commits
Author SHA256 Message Date
kira 32a1491537 Removing modprobe bcachefs (as we have it build in into kernel) and bumping app version. 2026-07-13 01:39:42 +02:00
kira 56d181864a Working on release workflow. 2026-07-02 23:31:30 +02:00
kira ba4cca635b Adding release workflow. 2026-07-02 23:21:25 +02:00
kira 92cb61dccc Some action cleanup. 2026-07-01 04:16:11 +02:00
kira f15fa368ac Finished plaing with actions. Build Release action should be functional now. 2026-06-30 19:03:09 +02:00
kira 70246f0d97 more play with build_release action. 2026-06-30 18:55:36 +02:00
kira 856a759315 more play with build_release action. 2026-06-30 18:47:58 +02:00
kira 4d01705527 more play with build_release action. 2026-06-30 18:45:43 +02:00
kira e6a3425109 more play with build_release action. 2026-06-30 18:43:16 +02:00
kira 81a0f4f8a2 more play with build_release action. 2026-06-30 18:36:50 +02:00
kira 0b4291b97e more play with build_release action. 2026-06-30 17:38:17 +02:00
kira f74461f6fb more fixes for build_release action. 2026-06-30 07:50:55 +02:00
kira 4396c5011b fixing release_build action. 2026-06-30 04:44:07 +02:00
kira acdf923ce0 fixing release_build action. 2026-06-30 04:34:24 +02:00
kira 68c19d84cf Addidg build-release gitea action, and bumping version in Cargo.toml for test purposes. 2026-06-30 03:58:01 +02:00
kira 33cabc86c9 Figuring actions thing up
Build Release / build (push) Failing after 53s
2026-06-30 03:26:08 +02:00
kira 379a992421 Adding gitlab action for test purposes.
Build Release / build (push) Failing after 39s
2026-06-30 03:18:49 +02:00
5 changed files with 87 additions and 4 deletions
@@ -0,0 +1,43 @@
name: "Build Release Binary"
run-name: "Build Release: ${{ inputs.tag_name }}"
on:
# Allows triggering from another workflow
workflow_call:
inputs:
tag_name:
description: 'Git tag to build (e.g., v1.0.0)'
required: true
type: string
workflow_dispatch: # Enables manual triggering
inputs:
tag_name:
description: 'Git tag to build (e.g., v1.0.0)'
required: true
type: string
jobs:
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
env:
GIT_DEFAULT_HASH: sha256
with:
# If triggered manually, use the input tag.
# If triggered by push, GITHUB_REF_NAME is the tag.
ref: ${{ inputs.tag_name || gitea.ref_name }}
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build Release Binary
run: cargo build --release
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: nyanit-${{ inputs.tag_name || gitea.ref_name }}
path: target/release/nyanit
+40
View File
@@ -0,0 +1,40 @@
name: Create Release with Binary
on:
workflow_dispatch: # Enables manual triggering
inputs:
tag_name:
description: 'Git tag to build (e.g., v1.0.0)'
required: true
type: string
rel_description:
description: 'Release description'
required: false
type: string
jobs:
# This job calls the reusable workflow
build-binary:
uses: ./.gitea/workflows/build-release-binary.yml
with:
tag_name: "${{ inputs.tag_name }}"
create-release:
needs: build-binary # Wait for the reusable workflow to finish
runs-on: ubuntu-latest
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: nyanit-${{ inputs.tag_name }}
- name: Create Release and Attach Binary
uses: actions/release-action@main
with:
artifacts: "nyanit-${{ inputs.tag_name }}"
api_key: ${{ secrets.bzzpss_release_psszz }}
tag_name: ${{ inputs.tag_name }}
name: Release ${{ inputs.tag_name }}
body: "Automated release for ${{ inputs.tag_name }}\n${{ inputs.rel_description }}"
Generated
+1 -1
View File
@@ -287,7 +287,7 @@ checksum = "6aa2c4e539b869820a2b82e1aef6ff40aa85e65decdd5185e83fb4b1249cd00f"
[[package]]
name = "nyanit"
version = "0.1.0"
version = "0.1.2"
dependencies = [
"ratatui",
"ratatui-textarea",
+2 -2
View File
@@ -1,12 +1,12 @@
[package]
name = "nyanit"
version = "0.1.0"
version = "0.1.2"
edition = "2024"
[dependencies]
ratatui = { version = "0.30", default-features = false, features = ["termion"] }
ratatui-textarea = { version = "0.9", default-features = false, features = ["termion"] }
regex = "1.12.4"
regex = "1.12"
termion = "4"
+1 -1
View File
@@ -223,7 +223,7 @@ pub fn prepare_env() -> Result<(), ExecCommandError> {
exec_command("mount", &vec!["-t", "sysfs", "none", "/sys"])?;
// modprobe bcachefs
exec_command("modprobe", &vec!["bcachefs"])?;
// exec_command("modprobe", &vec!["bcachefs"])?;
Ok(())
}