diff options
| author | loyalsoldier <[email protected]> | 2021-09-03 14:57:27 +0800 |
|---|---|---|
| committer | loyalsoldier <[email protected]> | 2021-09-03 15:00:14 +0800 |
| commit | 56982c83987f73c729f35fda716c6a9bf09f3127 (patch) | |
| tree | ec37e7f319b1863af6b244ca19f6a21288a35f6a /.github/workflows | |
| parent | b91618db1ef9d7df67c2cd1cd5588d9d529436f0 (diff) | |
Fix: geoip-asn.dat & text output
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d12f2c1d..2543e072 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,8 @@ jobs: - name: Move files to publish directory run: | mkdir -p publish - mv ./output/dat/*.dat ./output/dat/*.sha256sum ./output/maxmind/*.mmdb ./output/maxmind/*.sha256sum ./output/text/*.txt *.gz *.zip ./publish/ + mv ./output/dat/*.dat ./output/dat/*.sha256sum ./output/maxmind/*.mmdb ./output/maxmind/*.sha256sum *.gz *.zip ./publish/ + cp -fpPR ./output/text ./publish - name: Git push assets to "release" branch run: | @@ -106,7 +107,7 @@ jobs: done - name: Remove some files to avoid publishing to GitHub release - run: rm -f ./publish/*.{gz,zip,txt} + run: rm -rf ./publish/*.{gz,zip} ./publish/text - name: Upload files to GitHub release uses: svenstaro/upload-release-action@v2 |
