2121 steps :
2222 - uses : actions/checkout@v5
2323
24+ # Extract version from package.json
25+ - name : Get Package Version
26+ id : pkg_version
27+ shell : bash
28+ run : |
29+ VERSION=$(jq -r '.version' package.json)
30+ echo "VERSION=$VERSION" >> $GITHUB_ENV
31+ echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
32+
2433 # Install Bun
2534 - uses : oven-sh/setup-bun@v2
2635
@@ -64,52 +73,18 @@ jobs:
6473 if : matrix.platform == 'ubuntu-latest'
6574 run : bun run build:linux
6675
67- # Official Tauri build & artifact upload
76+ # Official Tauri build & release upload
6877 - 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
8878 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/**
79+ tagName : v${{ steps.pkg_version.outputs.VERSION }}
80+ releaseDraft : false
81+ prerelease : false
82+ projectPath : .
83+ includeDebug : false
84+ includeRelease : true
85+ includeUpdaterJson : true
86+ updaterJsonKeepUniversal : false
11487 env :
115- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89+
90+ # Artifacts will be uploaded automatically by tauri-action to the release for all platforms.
0 commit comments