Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: release ci

Louis Beaumontcfe535653930
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 66096efed..585ce98c4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -27,7 +27,18 @@ jobs:
- name: Build
run: cargo build --release
+ - name: Check if Release Exists
+ id: check_release
+ run: |
+ if gh release view ${{ github.ref }}; then
+ echo "Release already exists"
+ exit 0
+ fi
+ env:
+ GITHUB_TOKEN: ${{ secrets.PAT }}
+
- name: Create Release
+ if: steps.check_release.outputs.release_exists == 'false'
id: create_release
uses: actions/create-release@v1
env: