mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-28 07:14:18 +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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Go
|
|
||||||
uses: actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: 'stable'
|
|
||||||
|
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
run: |
|
run: |
|
||||||
echo "GOAMD64=v3" >> $GITHUB_ENV
|
echo "GOAMD64=v3" >> $GITHUB_ENV
|
||||||
@ -57,6 +52,17 @@ jobs:
|
|||||||
repository: cokebar/gfwlist2dnsmasq
|
repository: cokebar/gfwlist2dnsmasq
|
||||||
path: 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
|
- name: Generate GFWList domains
|
||||||
run: |
|
run: |
|
||||||
cd gfwlist2dnsmasq || exit 1
|
cd gfwlist2dnsmasq || exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user