-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.14 KB
/
blank.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
compile:
name: Create deb package
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: debian:testing
options: -v ${{ github.workspace }}:/root -v /output:/output
run: |
set -ex
cd /root
apt update
apt install devscripts equivs -y
yes | mk-build-deps --install
debuild -us -uc -b
mkdir -p /output/
mv ../*.deb /output/
mv ./*.deb /output/
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "current"
prerelease: false
title: "Latest release"
files: |
/output/*