Skip to content

DSSD 0.3.0

DSSD 0.3.0 #19

Workflow file for this run

name: CI & Build
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt install libdbus-1-dev pkg-config
- run: cargo build --release
- uses: actions/upload-artifact@v4
with:
name: dssd
path: target/release/dssd
release:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
needs: [test]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- run: |
mkdir artifacts
mv dssd/dssd artifacts/dssd
- uses: softprops/action-gh-release@v1
with:
draft: true
files: artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}