Skip to content

Commit

Permalink
add binary workflow (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyang0 authored May 16, 2023
1 parent 7dc0157 commit 3237548
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: dev binary

on:
push:
branches:
- master

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: "Setup go"
uses: actions/setup-go@v4

- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: "Build binary"
run: |
sudo apt-get update
sudo apt-get install -y build-essential libvirt-dev make libguestfs-dev
make
- uses: actions/upload-artifact@v3
with:
name: yavirt-ubuntu
path: bin

0 comments on commit 3237548

Please sign in to comment.