chore: Add geodata and systemd service file into zip file when releasing (#50)

* chore: Add geodata and systemd service file into zip file when releasing

* chore: fix dir
This commit is contained in:
mzz 2023-03-30 14:59:57 +08:00 committed by GitHub
parent f3b80c977c
commit 80379f9bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,10 @@ jobs:
export OUTPUT=build/dae-$ASSET_NAME export OUTPUT=build/dae-$ASSET_NAME
export VERSION=${{ steps.get_version.outputs.VERSION }} export VERSION=${{ steps.get_version.outputs.VERSION }}
make make
cp ./install/dae.service ./build/
cp ./example.dae ./build/
curl -L -o ./build/geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
curl -L -o ./build/geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat
- name: Smoking test - name: Smoking test
if: matrix.goarch == 'amd64' && matrix.goamd64 == 'v1' if: matrix.goarch == 'amd64' && matrix.goamd64 == 'v1'
run: ./build/dae-$ASSET_NAME --version run: ./build/dae-$ASSET_NAME --version