mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-24 03:49:30 +00:00
Move repository checkout step to the main workflow for better control and clarity in the CI process
This commit is contained in:
parent
49a24b675e
commit
f241de3c22
2 changed files with 5 additions and 9 deletions
9
.github/actions/flutter-setup/action.yaml
vendored
9
.github/actions/flutter-setup/action.yaml
vendored
|
|
@ -16,15 +16,6 @@ inputs:
|
|||
runs:
|
||||
using: "composite" # Specify this is a composite action
|
||||
steps:
|
||||
# Note: Checkout needs to happen *within the job using the composite action* usually.
|
||||
# However, for self-contained setup, we can include it here.
|
||||
# If you need checkout options controlled by the main workflow, move checkout
|
||||
# to be the first step in the main workflow's job *before* calling this action.
|
||||
- name: Checkout repository (within composite)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
|
|
|
|||
5
.github/workflows/flutter_test.yaml
vendored
5
.github/workflows/flutter_test.yaml
vendored
|
|
@ -16,6 +16,11 @@ jobs:
|
|||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Setup Flutter Environment
|
||||
uses: ./.github/actions/flutter-setup # Path to the composite action directory
|
||||
# Pass inputs if needed (optional, using defaults here)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue