dohproxy/.forgejo/workflows/build.yml
2024-09-01 15:44:51 +01:00

31 lines
543 B
YAML

name: Compile dohproxy
on:
push:
branches:
- '*'
paths:
- dohproxy.go
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.23'
- name: Compile Go binary
run: |
go build dohproxy.go
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: dohproxy
path: dohproxy