Skip to content

Commit 64f1270

Browse files
🩹 [Patch]: Rearrange jobs in Action-Test workflow for better structure and clarity
1 parent ec5ece3 commit 64f1270

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

‎.github/workflows/Action-Test.yml‎

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ permissions:
2323
statuses: write # to create commit status
2424

2525
jobs:
26-
ActionTestDefault:
27-
name: Action-Test - [Default]
26+
UploadArtifact:
27+
name: Upload Artifact
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout repo
@@ -41,6 +41,17 @@ jobs:
4141
if-no-files-found: error
4242
retention-days: 1
4343

44+
ActionTestDefault:
45+
name: Action-Test - [Default]
46+
runs-on: ubuntu-latest
47+
needs: UploadArtifact
48+
steps:
49+
- name: Checkout repo
50+
uses: actions/checkout@v5
51+
with:
52+
persist-credentials: false
53+
fetch-depth: 0
54+
4455
- name: Action-Test
4556
uses: ./
4657
with:
@@ -70,20 +81,14 @@ jobs:
7081
ActionTestWithSummary:
7182
name: Action-Test - [With Summary]
7283
runs-on: ubuntu-latest
84+
needs: UploadArtifact
7385
steps:
7486
- name: Checkout repo
7587
uses: actions/checkout@v5
7688
with:
7789
persist-credentials: false
7890
fetch-depth: 0
7991

80-
- name: Upload module artifact
81-
uses: actions/upload-artifact@v4
82-
with:
83-
name: module
84-
path: tests/srcTestRepo/outputs/module
85-
if-no-files-found: error
86-
retention-days: 1
8792

8893
- name: Action-Test
8994
uses: ./

0 commit comments

Comments
 (0)