dohproxy/.forgejo/workflows/build.yml

32 lines
543 B
YAML
Raw Normal View History

2024-09-01 15:26:56 +01:00
name: Compile dohproxy
on:
push:
branches:
- '*'
2024-09-01 15:44:51 +01:00
paths:
- dohproxy.go
2024-09-01 15:26:56 +01:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
2024-09-01 15:44:51 +01:00
with:
go-version: '1.23'
2024-09-01 15:26:56 +01:00
- name: Compile Go binary
run: |
go build dohproxy.go
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
2024-09-01 15:42:14 +01:00
name: dohproxy
2024-09-01 15:26:56 +01:00
path: dohproxy