Merge pull request #53 from truenas/NAS-131119 #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build-deb: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/truenas/apps_validation:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Deps | |
run: sudo apt update && sudo apt install -y python3-git python3-jinja2 | |
- 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@v4 | |
with: | |
name: py-apps-validation | |
path: artifacts | |
if: success() |