Skip to content

Commit

Permalink
fix(ci): create CrabNebula Cloud release on a separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula committed Aug 12, 2024
1 parent 1280dee commit 3239c36
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit 3239c36

Please sign in to comment.