Skip to content

Use xz instead of zstd default for compatibility #47

Use xz instead of zstd default for compatibility

Use xz instead of zstd default for compatibility #47

Workflow file for this run

name: Create debian package
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create package structure
run: |
mkdir fcow_1.2-1
cd fcow_1.2-1
mkdir -p DEBIAN usr/local/bin usr/local/man/man6 usr/local/share/fcow
- name: Copy stuff inside
run: |
cp deb_control fcow_1.2-1/DEBIAN/control
cp src/* fcow_1.2-1/usr/local/bin/
chmod +x fcow_1.2-1/usr/local/bin/*
cp share/* fcow_1.2-1/usr/local/share/fcow/
cp man/* fcow_1.2-1/usr/local/man/man6/
- name: Create deb package
run: dpkg-deb -Zxz --build fcow_1.2-1
- name: Upload deb as artifact
uses: actions/upload-artifact@v3
with:
name: fcow_1.2-1.deb
path: fcow_1.2-1.deb