From 7a038dd7a584b16540cdec204039462355f3c2b1 Mon Sep 17 00:00:00 2001 From: dreautall <109872040+dreautall@users.noreply.github.com> Date: Sat, 24 Feb 2024 07:10:03 +0000 Subject: [PATCH] [gh] checkout first --- .github/workflows/commit.yml | 2 ++ .github/workflows/release.yml | 2 ++ .github/workflows/setup_env.yml | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index c7bf9be4..7d4a12d1 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + # Call setup_env workflow to setup workspace - uses: ./.github/workflows/setup_env.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91d78885..011bc2bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,8 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + # Call setup_env workflow to setup workspace - uses: ./.github/workflows/setup_env.yml diff --git a/.github/workflows/setup_env.yml b/.github/workflows/setup_env.yml index a0b6a068..c27cc729 100644 --- a/.github/workflows/setup_env.yml +++ b/.github/workflows/setup_env.yml @@ -8,8 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - # Setup the Java environment. - uses: actions/setup-java@v4 with: