Skip to content

Commit 6207d75

Browse files
pipeline build fixes
1 parent b9dd7f2 commit 6207d75

File tree

1 file changed

+25
-46
lines changed

1 file changed

+25
-46
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Agentic Signal
22

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
branches: [main]
@@ -21,6 +24,15 @@ jobs:
2124
steps:
2225
- uses: actions/checkout@v5
2326

27+
# Extract version from package.json
28+
- name: Get Package Version
29+
id: pkg_version
30+
shell: bash
31+
run: |
32+
VERSION=$(jq -r '.version' package.json)
33+
echo "VERSION=$VERSION" >> $GITHUB_ENV
34+
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
35+
2436
# Install Bun
2537
- uses: oven-sh/setup-bun@v2
2638

@@ -64,52 +76,19 @@ jobs:
6476
if: matrix.platform == 'ubuntu-latest'
6577
run: bun run build:linux
6678

67-
# Official Tauri build & artifact upload
79+
# Official Tauri build & release upload
6880
- uses: tauri-apps/tauri-action@v0
69-
# Artifacts will be uploaded automatically by tauri-action
70-
71-
release:
72-
needs: build
73-
runs-on: ubuntu-latest
74-
steps:
75-
- uses: actions/checkout@v5
76-
77-
# Extract version from package.json
78-
- name: Get Package Version
79-
id: pkg_version
80-
run: |
81-
VERSION=$(jq -r '.version' package.json)
82-
echo "VERSION=$VERSION" >> $GITHUB_ENV
83-
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
84-
85-
# Download all build artifacts
86-
- name: Download Windows artifact
87-
uses: actions/download-artifact@v5
8881
with:
89-
name: tauri-app-windows-latest
90-
path: dist/windows
91-
92-
- name: Download macOS artifact
93-
uses: actions/download-artifact@v5
94-
with:
95-
name: tauri-app-macos-latest
96-
path: dist/macos
97-
98-
- name: Download Linux artifact
99-
uses: actions/download-artifact@v5
100-
with:
101-
name: tauri-app-ubuntu-latest
102-
path: dist/linux
103-
104-
# Create a release (will auto-create a tag if it doesn't exist)
105-
- name: Create Release
106-
uses: softprops/action-gh-release@v2
107-
with:
108-
tag_name: v${{ steps.pkg_version.outputs.VERSION }}
109-
name: Release v${{ steps.pkg_version.outputs.VERSION }}
110-
files: |
111-
dist/windows/**
112-
dist/macos/**
113-
dist/linux/**
82+
tagName: v${{ steps.pkg_version.outputs.VERSION }}
83+
releaseName: Agentic Signal v${{ steps.pkg_version.outputs.VERSION }}
84+
releaseDraft: false
85+
prerelease: false
86+
projectPath: .
87+
includeDebug: false
88+
includeRelease: true
89+
includeUpdaterJson: true
90+
updaterJsonKeepUniversal: false
11491
env:
115-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
94+
# Artifacts will be uploaded automatically by tauri-action to the release for all platforms.

0 commit comments

Comments
 (0)