From dfc7284d0dc097c46c4ba3a6b8253df6ad5c892b Mon Sep 17 00:00:00 2001 From: Lengran Date: Fri, 22 Mar 2024 16:28:26 +0800 Subject: [PATCH] add geo-mmdb into build action (test) --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a47e1a..0afc313 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,14 +3,14 @@ name: Build plugin on: push: branches: [ "main" ] - paths: - - '**.cs' - - '**.csproj' + # paths: + # - '**.cs' + # - '**.csproj' pull_request: branches: [ "main" ] - paths: - - '**.cs' - - '**.csproj' + # paths: + # - '**.cs' + # - '**.csproj' release: types: - created @@ -37,6 +37,7 @@ jobs: mv ./bin/Debug/net7.0/MaxMind.GeoIP2.dll output/OpenPrefirePrac/ mv ./maps output/OpenPrefirePrac/ mv ./lang output/OpenPrefirePrac/ + wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb -P output/OpenPrefirePrac/ - name: Publish artifact uses: actions/upload-artifact@v4 with: