Skip to content

Commit

Permalink
Made artifacts downloadable from the GitHub action workflow output di…
Browse files Browse the repository at this point in the history
…st directory.
  • Loading branch information
nthnn committed Oct 17, 2024
1 parent 39f83a2 commit 5b5d38e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_ci_darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- assets/**
- examples/**
- include/**
- lib/**
- src/**
- test/**
branches:
Expand Down Expand Up @@ -55,3 +56,9 @@ jobs:
run: |
./dist/zhivo-darwin-arm64 ./examples/hello.zhv
./dist/zhivo-darwin-arm64 ./examples/99-beers.zhv
- name: Upload dist folder
uses: actions/upload-artifact@v4
with:
name: zhivo-linux-dist
path: dist/
7 changes: 7 additions & 0 deletions .github/workflows/build_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- .github/workflows/**
- assets/**
- examples/**
- lib/**
- include/**
- src/**
- test/**
Expand Down Expand Up @@ -86,3 +87,9 @@ jobs:
run: |
/usr/bin/time -v ./dist/zhivo-linux-x86_64-cuda ./examples/hello.zhv
/usr/bin/time -v ./dist/zhivo-linux-x86_64-cuda ./examples/99-beers.zhv
- name: Upload dist folder
uses: actions/upload-artifact@v4
with:
name: zhivo-linux-dist
path: dist/
7 changes: 7 additions & 0 deletions .github/workflows/build_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- .github/workflows/**
- assets/**
- examples/**
- lib/**
- include/**
- src/**
- test/**
Expand Down Expand Up @@ -83,3 +84,9 @@ jobs:
run: |
dist\zhivo-win32-amd64-cuda.exe examples\99-beers.zhv
dist\zhivo-win32-amd64-cuda.exe examples\hello.zhv
- name: Upload dist folder
uses: actions/upload-artifact@v4
with:
name: zhivo-linux-dist
path: dist/

0 comments on commit 5b5d38e

Please sign in to comment.