From b716301e40141e664d4c7dae84c27163d49ca8db Mon Sep 17 00:00:00 2001 From: loyalsoldier Date: Tue, 10 Dec 2019 18:24:50 +0800 Subject: [PATCH] show more dir info --- .github/workflows/main.yml | 2 +- generate-rules-dat.sh | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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