From 2fbc2bcbc436e0d6aa189bbad85c3ec56fccd06f Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Thu, 21 Sep 2023 16:06:20 +0800 Subject: [PATCH] chore: Organize the project structure --- {build-for-linux => .github/build-for-linux}/Dockerfile | 0 {build-for-linux => .github/build-for-linux}/action.yml | 0 build.sh => .github/build-for-linux/build.sh | 0 {build-for-linux => .github/build-for-linux}/entrypoint.sh | 2 +- .github/workflows/build.yml | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename {build-for-linux => .github/build-for-linux}/Dockerfile (100%) rename {build-for-linux => .github/build-for-linux}/action.yml (100%) rename build.sh => .github/build-for-linux/build.sh (100%) rename {build-for-linux => .github/build-for-linux}/entrypoint.sh (98%) diff --git a/build-for-linux/Dockerfile b/.github/build-for-linux/Dockerfile similarity index 100% rename from build-for-linux/Dockerfile rename to .github/build-for-linux/Dockerfile diff --git a/build-for-linux/action.yml b/.github/build-for-linux/action.yml similarity index 100% rename from build-for-linux/action.yml rename to .github/build-for-linux/action.yml diff --git a/build.sh b/.github/build-for-linux/build.sh similarity index 100% rename from build.sh rename to .github/build-for-linux/build.sh diff --git a/build-for-linux/entrypoint.sh b/.github/build-for-linux/entrypoint.sh similarity index 98% rename from build-for-linux/entrypoint.sh rename to .github/build-for-linux/entrypoint.sh index d0c17ed..93b25d8 100644 --- a/build-for-linux/entrypoint.sh +++ b/.github/build-for-linux/entrypoint.sh @@ -41,4 +41,4 @@ else echo "Unknown target: $INPUT_TARGET" && exit 1 fi -bash build.sh \ No newline at end of file +bash .github/build-for-linux/build.sh \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c846dec..0ebf1fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,7 +137,7 @@ jobs: with: fetch-depth: 1 - name: Build for Linux - uses: ./build-for-linux + uses: ./.github/build-for-linux with: target: ${{ matrix.target }} toolchain: stable-${{ matrix.target }}