diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6b80f5de9d..f2bb7777e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: - name: Upload dat files to release uses: svenstaro/upload-release-action@v1-release with: - file: v2ray/${{ matrix.artifact_name }} + file: $GITHUB_WORKSPACE/v2ray-rules-dat/v2ray/${{ matrix.artifact_name }} asset_name: ${{ matrix.asset_name }} tag: latest overwrite: true diff --git a/generate-rules-dat.sh b/generate-rules-dat.sh index c6074842ac..d34c7f7631 100644 --- a/generate-rules-dat.sh +++ b/generate-rules-dat.sh @@ -53,6 +53,14 @@ go run main.go mv dlc.dat $V2RAY_FOLDER/geosite.dat echo -e "${GREEN}>>> Finished geosite.dat ${NC}" +echo -e "${GREEN}>>> List $GITHUB_WORKSPACE files: ${NC}" +ls -lah $GITHUB_WORKSPACE +echo -e "\n" + +echo -e "${GREEN}>>> List $GOPATH files: ${NC}" +ls -lah $GOPATH +echo -e "\n" + echo -e "\n" echo -e "${GREEN}>>> List $V2RAY_FOLDER files: ${NC}" ls -lah $V2RAY_FOLDER