diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 99bebd4a..82bb7c87 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -10,8 +10,6 @@ inputs: runs: using: composite steps: - - name: Checkout - uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v4 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2b9fd04..4bf4dacb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,9 @@ jobs: outputs: artifact-id: ${{ steps.artifacts-upload-step.outputs.artifact-id }} steps: + - name: Checkout + uses: actions/checkout@v4 + # need to checkout before using it... - name: Setup uses: ./.github/actions/setup # must use directory, and action.yml must be there - name: Build diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aa7468d0..bca5ee2b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,6 +30,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: + - name: Checkout + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f38df1a6..9b9c525d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: + - name: Checkout + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60eb8dd7..b4e8f538 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Component tests -on: +on: workflow_dispatch: inputs: artifact-id: @@ -17,6 +17,8 @@ jobs: if: ${{ !contains(github.event.head_commit.message, '[all skip]') && !contains(github.event.head_commit.message, '[test skip]') }} runs-on: ubuntu-22.04 steps: + - name: Checkout + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup with: