2022-03-11 00:59:53 +00:00
|
|
|
on:
|
2022-03-11 01:54:18 +00:00
|
|
|
push:
|
2022-03-11 01:42:47 +00:00
|
|
|
branches:
|
2022-03-11 01:49:22 +00:00
|
|
|
- "main"
|
2022-03-11 00:59:53 +00:00
|
|
|
|
|
|
|
jobs:
|
2022-03-11 01:42:47 +00:00
|
|
|
linux:
|
|
|
|
name: "Release"
|
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
|
2022-03-11 00:59:53 +00:00
|
|
|
steps:
|
2022-03-11 01:42:47 +00:00
|
|
|
# ...
|
|
|
|
- name: "Build & test"
|
|
|
|
run: |
|
2022-03-11 01:54:18 +00:00
|
|
|
ls -al && GOOS=linux GOARCH=amd64 go build ./cmd/... && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi
|
2022-03-11 01:42:47 +00:00
|
|
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
automatic_release_tag: "latest"
|
|
|
|
prerelease: true
|
|
|
|
title: "Development Build"
|
|
|
|
files: |
|
|
|
|
*.tar.gz
|