Alex Janka
10b0f56352
Some checks failed
Build .deb on release / Build-Deb (push) Has been cancelled
23 lines
674 B
YAML
23 lines
674 B
YAML
name: Build .deb on release
|
|
run-name: Building .deb of latest release and adding to apt repo
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
Build-Deb:
|
|
runs-on: asalex
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Checkout submodules
|
|
run: git submodule update --init --recursive
|
|
- name: Build .deb
|
|
run: "cargo deb --target=aarch64-unknown-linux-gnu"
|
|
- name: Add .deb to apt repository
|
|
run: "aptly repo add tesla $(ls -t ./target/aarch64-unknown-linux-gnu/debian/*.deb | head -1)"
|
|
- run: "aptly publish update testing"
|
|
- run: "aptly publish update testing filesystem:deb:"
|