Skip to content

Merge branch 'develop' #17

Merge branch 'develop'

Merge branch 'develop' #17

Workflow file for this run

name: Packaging for Debian and Ubuntu
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ${{ matrix.target }}
strategy:
fail-fast: false
matrix:
arch:
- amd64
target:
- "debian:buster"
- "debian:bullseye"
- "debian:bookworm"
- "ubuntu:bionic"
- "ubuntu:focal"
- "ubuntu:jammy"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install prereq packages
run: ./debpkg-setup.sh
- name: Build packages
run: ./debpkg-build.sh
- name: Store packages
run: |
export DIRNAME=`echo ${{ matrix.target }} | tr ':' '_'`
mkdir -p packages/${DIRNAME}
cp ../*.deb packages/${DIRNAME}/
- name: Publish packages to cloudsmith
uses: wandnz/[email protected]
with:
path: packages/
repo: ${{ secrets.CLOUDSMITH_OWNER }}/libtrace
username: salcock
api_key: ${{ secrets.CLOUDSMITH_API_KEY }}