forked from mediar-ai/screenpipe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): create CrabNebula Cloud release on a separate job
- Loading branch information
1 parent
1280dee
commit 3239c36
Showing
1 changed file
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,20 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
draft: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: create draft release | ||
uses: crabnebula-dev/[email protected] | ||
with: | ||
command: release draft ${{ secrets.CN_APP_SLUG }} --framework tauri | ||
api-key: ${{ secrets.CN_API_KEY }} | ||
|
||
publish-tauri: | ||
needs: draft | ||
permissions: | ||
contents: write | ||
strategy: | ||
|
@@ -164,22 +177,25 @@ jobs: | |
projectPath: "./examples/apps/screenpipe-app-tauri" | ||
tauriScript: bunx tauri -v | ||
|
||
- name: Create CrabNebula Cloud Release Draft | ||
uses: crabnebula-dev/[email protected] | ||
with: | ||
command: release draft ${{ secrets.CN_APP_SLUG }} --framework tauri | ||
api-key: ${{ secrets.CN_API_KEY }} | ||
|
||
- name: Upload Assets to CrabNebula Cloud | ||
uses: crabnebula-dev/[email protected] | ||
with: | ||
command: release upload ${{ secrets.CN_APP_SLUG }} --framework tauri | ||
api-key: ${{ secrets.CN_API_KEY }} | ||
path: ./examples/apps/screenpipe-app-tauri/src-tauri | ||
|
||
# - name: Publish CrabNebula Cloud Release | ||
# uses: crabnebula-dev/[email protected] | ||
# with: | ||
# command: release publish ${{ secrets.CN_APP_SLUG }} --framework tauri | ||
# api-key: ${{ secrets.CN_API_KEY }} | ||
# basically wait for macos manual add sset | ||
# basically wait for macos manual add sset | ||
#publish: | ||
# needs: publish-tauri | ||
|
||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
# - name: publish release | ||
# uses: crabnebula-dev/[email protected] | ||
# with: | ||
# command: release publish ${{ secrets.CN_APP_SLUG }} --framework tauri | ||
# api-key: ${{ secrets.CN_API_KEY }} | ||
|