SpoofDPI/.github/workflows/release.yaml
2022-03-11 10:52:10 +09:00

24 lines
556 B
YAML

on:
pull_request:
branches:
- "main"
jobs:
linux:
name: "Release"
runs-on: "ubuntu-latest"
steps:
# ...
- name: "Build & test"
run: |
GOOS=linux GOARCH=amd64 go build ./cmd/... && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
*.tar.gz