Skip to content

Commit c3abed0

Browse files
committed
fix: move checkout from composite action to running action
1 parent af3f244 commit c3abed0

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/actions/deploy-gh-pages/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ inputs:
1212
runs:
1313
using: "composite"
1414
steps:
15-
- name: Checkout repository
16-
uses: actions/checkout@v4
17-
1815
- name: Download all UI artifacts
1916
uses: actions/download-artifact@v4
2017
with:

.github/actions/generate-swagger-ui/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ inputs:
2121
runs:
2222
using: "composite"
2323
steps:
24-
- name: Checkout repository
25-
uses: actions/checkout@v4
26-
2724
- name: Create output folder if not present
2825
shell: bash
2926
run: mkdir -p "${{ inputs.output }}"

.github/workflows/swagger_ui_v2.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix: ${{ steps.build_matrix.outputs.matrix }}
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
- name: Build matrix from API docs
2626
id: build_matrix
2727
uses: ./.github/actions/find-openapi-spec
@@ -37,6 +37,8 @@ jobs:
3737
matrix:
3838
include: ${{ fromJson(needs.set-matrix.outputs.matrix) }}
3939
steps:
40+
- name: Checkout repository
41+
uses: actions/checkout@v4
4042
- name: Generate Swagger UI using composite action
4143
uses: ./.github/actions/generate-swagger-ui
4244
with:
@@ -50,6 +52,8 @@ jobs:
5052
runs-on: ubuntu-latest
5153
needs: generate-swagger-ui
5254
steps:
55+
- name: Checkout repository
56+
uses: actions/checkout@v4
5357
- name: Deploy the site via composite action
5458
uses: ./.github/actions/deploy-gh-pages
5559
with:

0 commit comments

Comments
 (0)