Skip to content

Commit

Permalink
Add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Sep 20, 2024
1 parent 8071ca0 commit d4b1adc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Publish Rust Artifact

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest

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

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

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

- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: rust-release-artifact
path: target/release/libzen_rustlib.so

0 comments on commit d4b1adc

Please sign in to comment.