mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-01-31 15:52:52 -05:00
Compare commits
4 Commits
v1.2.0
...
e54c71abed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e54c71abed | ||
|
|
e646858e43 | ||
|
|
dc7c2682cf | ||
|
|
08282c8a22 |
77
.github/workflows/test-build.yml
vendored
Normal file
77
.github/workflows/test-build.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
name: 'Build Tauri Artifacts'
|
||||
|
||||
on:
|
||||
workflow_dispatch: # Allows manual triggering
|
||||
|
||||
jobs:
|
||||
build-tauri:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
|
||||
- name: Get version (for logging / artifact name)
|
||||
id: get-version
|
||||
run: |
|
||||
VERSION=$(node -p "require('./package.json').version")
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "Package version: $VERSION"
|
||||
|
||||
- name: Install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: './src-tauri -> target'
|
||||
|
||||
- name: Install system dependencies (Ubuntu 22.04)
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
libwebkit2gtk-4.1-dev \
|
||||
libjavascriptcoregtk-4.1-0 \
|
||||
libjavascriptcoregtk-4.1-dev \
|
||||
libappindicator3-dev \
|
||||
librsvg2-dev \
|
||||
patchelf \
|
||||
build-essential \
|
||||
curl \
|
||||
wget \
|
||||
file \
|
||||
libssl-dev \
|
||||
libgtk-3-dev
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build Tauri app (no release)
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # optional but harmless
|
||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||
with:
|
||||
projectPath: '.'
|
||||
includeDebug: false
|
||||
includeRelease: true
|
||||
includeUpdaterJson: true
|
||||
tauriScript: 'npm run tauri'
|
||||
|
||||
- name: Upload Tauri bundles as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tauri-bundles-${{ steps.get-version.outputs.version }}
|
||||
path: |
|
||||
src-tauri/target/release/bundle/**
|
||||
@@ -60,7 +60,7 @@ While the core functionality is working, please be aware that this is an early r
|
||||
1. Clone the repository:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/novattz/creamlinux.git
|
||||
git clone https://github.com/Novattz/creamlinux-installer.git
|
||||
cd creamlinux
|
||||
```
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
.progress-bar {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
background: var(--border-dark);
|
||||
background: var(--primary-color);
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
|
||||
Reference in New Issue
Block a user