Skip to content

Merge pull request #164 from ManoDaSilva/master #29

Merge pull request #164 from ManoDaSilva/master

Merge pull request #164 from ManoDaSilva/master #29

Workflow file for this run

name: Debian Package for ARM
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: [linux, ARM]
container:
# image: ubuntu:latest
image: rust:1.63-bullseye
steps:
- name: Update packet sources
run: apt update -y
- name: Install dependencies
run: apt install -y devscripts build-essential lintian debhelper libudev-dev cargo dh-cargo rustc
- uses: actions/checkout@v2
- name: Build debian package
run: |
dpkg-buildpackage -b -us -uc
mkdir package/
mv ../unipager_*.deb package/
- name: Push to cloudsmith.io
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: 'push'
format: 'deb'
owner: 'rwth-afu'
repo: 'unipager'
distro: 'raspbian'
release: 'buster'
republish: 'true'
file: './package/*.deb'