Skip to content

Commit cf4a0d3

Browse files
committed
Hand off built artifact.
1 parent 54e0fa7 commit cf4a0d3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ jobs:
2626
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o search_arm64 .
2727
lipo -create -output search search_amd64 search_arm64
2828
rm -f search_amd64 search_arm64
29+
- name: Upload workflow contents
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: workflow-contents
33+
path: |
34+
.
35+
!.git
36+
37+
package:
38+
runs-on: ubuntu-latest
39+
needs: build
40+
steps:
41+
- name: Download workflow contents
42+
uses: actions/download-artifact@v4
43+
with:
44+
name: workflow-contents
45+
path: .
2946
# Store version number without `v`
3047
- name: Write release version
3148
run: |

0 commit comments

Comments
 (0)