mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-27 19:04:15 +08:00
Fix: path to the go module dependency cache
This commit is contained in:
parent
5ddb7813b6
commit
8c98dec2ac
16
.github/workflows/run.yml
vendored
16
.github/workflows/run.yml
vendored
@ -12,11 +12,6 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Set variables
|
||||
run: |
|
||||
echo "GOAMD64=v3" >> $GITHUB_ENV
|
||||
@ -57,6 +52,17 @@ jobs:
|
||||
repository: cokebar/gfwlist2dnsmasq
|
||||
path: gfwlist2dnsmasq
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version-file: ./custom/go.mod
|
||||
cache-dependency-path: ./custom/go.sum
|
||||
|
||||
- name: Get geoip.dat relative files
|
||||
run: |
|
||||
wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat
|
||||
wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat.sha256sum
|
||||
|
||||
- name: Generate GFWList domains
|
||||
run: |
|
||||
cd gfwlist2dnsmasq || exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user