Create build workflow

This commit is contained in:
Pau Giuli 2023-10-01 14:09:29 +02:00 committed by GitHub
parent f65c6a70d2
commit 0ed8902ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
.github/workflows/deb.yml vendored Normal file
View File

@ -0,0 +1,29 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build wireguird .deb
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install Dependencies
run: deps.sh
- name: Build
run: package_deb.sh