Skip to content

Add glob based item to collect artifacts (#91) #250

Add glob based item to collect artifacts (#91)

Add glob based item to collect artifacts (#91) #250

Workflow file for this run

name: CI
on: [push]
jobs:
build-deb:
runs-on: ubuntu-latest
container:
image: ghcr.io/truenas/middleware:master
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup apt
run: chmod +x /usr/bin/apt* && chmod +x /usr/bin/dpkg
- name: Install Dependencies
run: apt update && apt install -y debhelper-compat dh-python python3-dev python3-setuptools devscripts
- name: Build deb package
run: >
dpkg-buildpackage
-B
--no-sign
-jauto
- name: Create artifacts dir
run: mkdir artifacts
if: success()
- name: Move artifacts
run: mv ../*.deb artifacts
if: success()
- uses: actions/upload-artifact@v1
with:
name: python3-ixdiagnose
path: artifacts
if: success()