mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
add build packages workflow
This commit is contained in:
26
.github/workflows/build-packages.yaml
vendored
Normal file
26
.github/workflows/build-packages.yaml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Build packages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['v2', 'master']
|
||||
|
||||
jobs:
|
||||
build-packages:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install pkger
|
||||
run: |
|
||||
curl -L -o /tmp/pkger.deb https://github.com/vv9k/pkger/releases/download/0.11.0/pkger-0.11.0-0.amd64.deb
|
||||
sudo apt -y install /tmp/pkger.deb
|
||||
|
||||
- name: Build packages
|
||||
run: pkger -c .pkger.yml build lact
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Packages
|
||||
path: pkg/output/*
|
||||
|
||||
Reference in New Issue
Block a user