Skip to content

Commit

Permalink
feat(workflows): Upload artifacts on build success
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Jul 1, 2024
1 parent b06b88e commit c398037
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,12 @@ jobs:
- name: Build
run: |
UNAME_OS=${{ matrix.GOOS }} UNAME_ARCH=${{ matrix.GOARCH }} make kraft
- name: Upload build artifacts to GitHub
uses: actions/upload-artifact@v4
with:
name: kraft-${{ matrix.GOOS }}-${{ matrix.GOARCH }}-${{ github.event.pull_request.number}}
path: ./dist/kraft
if-no-files-found: error
retention-days: 7
overwrite: true

0 comments on commit c398037

Please sign in to comment.