Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
use Cargo.toml in CI
Brendan Alland259b9623043
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 83c545a1f..225f89941 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -5,6 +5,7 @@ on: workflow_dispatchenv:CN_APPLICATION: cap/cap+ APP_CARGO_TOML: apps/desktop-solid/src-tauri/Cargo.tomljobs:cap-desktop-release:@@ -16,14 +17,17 @@ jobs:- name: Checkout repositoryuses: actions/checkout@v4- - name: Get app version- id: get_version- run: echo "appVersion=$(jq -r '.version' apps/desktop/package.json)" >> $GITHUB_OUTPUT+ - name: Read version number+ uses: SebRollen/[email protected]+ id: read_version+ with:+ file: ${{ env.APP_CARGO_TOML }}+ field: "package.version"- name: create draft releaseuses: crabnebula-dev/cloud-release@v0with:- command: release draft ${{ env.CN_APPLICATION }} ${{ steps.get_version.outputs.appVersion }} --framework tauri+ command: release draft ${{ env.CN_APPLICATION }} ${{ steps.read_version.outputs.value }} --framework tauriapi-key: ${{ secrets.CN_API_KEY }}- name: Create API Key File@@ -50,7 +54,7 @@ jobs:- name: Create .env file in rootrun: |- echo "appVersion=${{ steps.get_version.outputs.appVersion }}" >> .env+ echo "appVersion=${{ steps.read_version.outputs.value }}" >> .envecho "CAP_DESKTOP_SENTRY_URL=https://efd3156d9c0a8a49bee3ee675bec80d8@o4506859771527168.ingest.us.sentry.io/4506859844403200" >> .env- name: Copy .env to apps/desktop-solid@@ -64,7 +68,7 @@ jobs:# Build both intel and apple siliconworking-directory: apps/desktop-solidrun: |- rustup target add x86_64-apple-darwin+ rustup target add x86_64-apple-darwinpnpm installpnpm tauri build --target x86_64-apple-darwinpnpm tauri build --target aarch64-apple-darwindiff --git a/Cargo.lock b/Cargo.lockindex a5dd411d7..45d711480 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1520,7 +1520,7 @@ dependencies = [[[package]]name = "desktop"-version = "0.1.0"+version = "0.2.0"dependencies = ["anyhow","axum",diff --git a/apps/desktop-solid/src-tauri/Cargo.toml b/apps/desktop-solid/src-tauri/Cargo.tomlindex 81a0ffc79..090fdefbb 100644--- a/apps/desktop-solid/src-tauri/Cargo.toml+++ b/apps/desktop-solid/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "desktop"-version = "0.1.0"+version = "0.2.0"description = "A Tauri App"authors = ["you"]edition = "2021"