Skip to content

Commit

Permalink
add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendumoulin committed Sep 30, 2024
1 parent 65e9553 commit 1bf04e2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Upload Binary

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Build the binary
run: cargo build --release

- name: Upload binary artifact
uses: actions/upload-artifact@v3
with:
name: vcd-to-csv
path: target/release/vcd-to-csv

0 comments on commit 1bf04e2

Please sign in to comment.