Forgejo action to build the binary
All checks were successful
Compile dohproxy / build (push) Successful in 3m12s

This commit is contained in:
Afonso Franco 2024-09-01 15:26:56 +01:00
parent 4412ca7097
commit 9eed720f6b
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -0,0 +1,29 @@
name: Compile dohproxy
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21' # Replace with your desired Go version
- name: Compile Go binary
run: |
go build dohproxy.go
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: go-binary
path: dohproxy