Skip to content

Commit 9061f31

Browse files
feat: Add artifact upload and download steps in build workflow
1 parent 7060e91 commit 9061f31

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@ jobs:
135135
includeRelease: false
136136
includeDebug: false
137137

138+
- name: Upload artifacts
139+
uses: actions/upload-artifact@v4
140+
with:
141+
name: artifacts-${{ matrix.platform }}
142+
path: src-tauri/target/release/bundle/
143+
retention-days: 1
144+
138145
create-release:
139146
needs: build
140147
runs-on: ubuntu-latest
@@ -144,6 +151,11 @@ jobs:
144151
- name: Checkout repository
145152
uses: actions/checkout@v4
146153

154+
- name: Download all artifacts
155+
uses: actions/download-artifact@v4
156+
with:
157+
path: artifacts
158+
147159
- name: Create Release
148160
uses: softprops/action-gh-release@v1
149161
with:
@@ -152,5 +164,4 @@ jobs:
152164
body: "New release"
153165
draft: false
154166
prerelease: false
155-
files: |
156-
src-tauri/target/release/bundle/**/*
167+
files: artifacts/**/*

0 commit comments

Comments
 (0)