Skip to content

fixes debian packages #16

fixes debian packages

fixes debian packages #16

Workflow file for this run

name: Rust

Check failure on line 1 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yml

Invalid workflow file

(Line: 32, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
- name: Build Release
run: cargo build --release
packging:
runs-on: ubuntu-latest
needs:
- build
steps:
- run: apt-get update -qq
- run: apt-get install -y -qq devscripts build-essential debhelper lintian dh-make
- uses: actions/checkout@v2
- name: DEB packaging
- run: mk-build-deps --install --remove --tool "apt-get -y -qq"
- run: dpkg-buildpackage -us -uc -b
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
target/debian/doh_0.1.0-1_amd64.deb