Skip to content

Commit

Permalink
chore: get latest geo ip
Browse files Browse the repository at this point in the history
  • Loading branch information
snakem982 committed Jul 31, 2024
1 parent c4532c8 commit 080a4ad
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/Prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,25 @@ jobs:
with:
go-version-file: ./go.mod
- run: go version

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- run: node -v

- name: get latest geo ip for windows
if: runner.os == 'Windows'
run: |
curl.exe -o backend/meta/geoip.metadb https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.metadb
- name: get latest geo ip for others
if: runner.os != 'Windows'
run: |
wget -O backend/meta/geoip.metadb https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.metadb
- name: Install dependencies
run: |
wget -O backend/meta/geoip.metadb https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.metadb
cd frontend && npm install
go install github.com/wailsapp/wails/v2/cmd/wails@latest
Expand Down

0 comments on commit 080a4ad

Please sign in to comment.