From a62879322f5d845dba8f24a4569b183524e60b61 Mon Sep 17 00:00:00 2001 From: hunghg255 Date: Tue, 16 Jul 2024 01:01:05 +0700 Subject: [PATCH] ci: update --- .github/cache/action.yml | 5 ----- .github/workflows/ci.yml | 5 +++++ .github/workflows/prepublish.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/cache/action.yml b/.github/cache/action.yml index 718d909..9482903 100644 --- a/.github/cache/action.yml +++ b/.github/cache/action.yml @@ -4,11 +4,6 @@ description: Cache Dependencies runs: using: composite steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Install Node.js uses: actions/setup-node@v4 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf028ba..a704742 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,11 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Checkout Repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Continuous integration uses: ./.github/cache diff --git a/.github/workflows/prepublish.yml b/.github/workflows/prepublish.yml index 0045b44..26dcf7e 100644 --- a/.github/workflows/prepublish.yml +++ b/.github/workflows/prepublish.yml @@ -11,6 +11,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout Repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Continuous integration uses: ./.github/cache diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aba2750..06e3a6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,11 @@ jobs: release: runs-on: ubuntu-latest steps: + - name: Checkout Repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Continuous integration uses: ./.github/cache