Files
Public/.gitea/workflows/dnsmasq-china-list.yaml

29 lines
737 B
YAML

name: Build SmartDNS DNSMasq China List
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
run: |
git clone https://github.com/felixonmars/dnsmasq-china-list.git --depth 1
- name: Build SmartDNS DNSMasq China List
run: |
cd dnsmasq-china-list
make smartdns SERVER=china
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
*.smartdns.conf
api_key: '${{secrets.RELEASE_TOKEN}}'