Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Mar 4, 2024
1 parent 0dc36d3 commit 5ac5790
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push]

jobs:
build-wsl:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Build
run: cargo build --release

- uses: actions/upload-artifact@v4
with:
name: 'container-hotplug'
path: target/release/container-hotplug

- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: target/release/container-hotplug

0 comments on commit 5ac5790

Please sign in to comment.