Skip to content

Commit bd1ca85

Browse files
committed
Add CI
1 parent 0dc36d3 commit bd1ca85

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-20.04
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Build
13+
run: cargo build --release
14+
15+
- uses: actions/upload-artifact@v4
16+
with:
17+
name: 'container-hotplug'
18+
path: target/release/container-hotplug
19+
20+
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
21+
if: startsWith(github.ref, 'refs/tags/')
22+
with:
23+
prerelease: true
24+
files: target/release/container-hotplug

0 commit comments

Comments
 (0)