Skip to content

Commit 187140d

Browse files
committed
update runner to preserve artifacts
1 parent c1ea916 commit 187140d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,17 @@ jobs:
3838

3939
- name: Build
4040
run: go build -o emd ./cmd/emd
41+
42+
- name: Upload build artifact (non-Windows)
43+
if: runner.os != 'Windows'
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: emd-${{ runner.os }}
47+
path: emd
48+
49+
- name: Upload build artifact (Windows)
50+
if: runner.os == 'Windows'
51+
uses: actions/upload-artifact@v4
52+
with:
53+
name: emd-${{ runner.os }}
54+
path: emd.exe

0 commit comments

Comments
 (0)