From b24f28e6bd5c3701f12ce099f16b45ae296f82f6 Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Sat, 11 Jan 2025 15:45:29 +0900 Subject: [PATCH] !fixup PR build --- .github/{workflows => actions}/cpprefjp-build/action.yml | 2 +- .github/{workflows/script => actions/cpprefjp-build}/build.sh | 0 .github/workflows/build.yml | 2 +- .github/workflows/check.yml | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename .github/{workflows => actions}/cpprefjp-build/action.yml (94%) rename .github/{workflows/script => actions/cpprefjp-build}/build.sh (100%) diff --git a/.github/workflows/cpprefjp-build/action.yml b/.github/actions/cpprefjp-build/action.yml similarity index 94% rename from .github/workflows/cpprefjp-build/action.yml rename to .github/actions/cpprefjp-build/action.yml index 519bf1849..946cdc8d8 100644 --- a/.github/workflows/cpprefjp-build/action.yml +++ b/.github/actions/cpprefjp-build/action.yml @@ -57,5 +57,5 @@ runs: # 3.12でUndefined symbolエラーがでた # あとはスクリプトで頑張る - - run: ./cpprefjp/site/.github/workflows/script/build.sh ${{ inputs.arguments }} + - run: ./cpprefjp/site/.github/actions/cpprefjp-build/build.sh ${{ inputs.arguments }} working-directory: site_generator diff --git a/.github/workflows/script/build.sh b/.github/actions/cpprefjp-build/build.sh similarity index 100% rename from .github/workflows/script/build.sh rename to .github/actions/cpprefjp-build/build.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 605e95fd9..423e18583 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: cpprefjp-build - uses: ./.github/cpprefjp-build + uses: ./.github/actions/cpprefjp-build with: arguments: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f1268f8f2..d588f40e0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -3,7 +3,7 @@ name: check on: [push, pull_request, workflow_dispatch] jobs: - check: + general_checks: runs-on: ubuntu-latest steps: - name: Set up Python @@ -69,6 +69,6 @@ jobs: cancel-in-progress: true steps: - name: cpprefjp-build - uses: ./.github/cpprefjp-build + uses: ./.github/actions/cpprefjp-build with: arguments: --pull ${{ github.event.number }}