Skip to content

Commit d73308a

Browse files
committed
Join all the github jobs in only one
1 parent bd4e2b9 commit d73308a

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

.github/workflows/develop.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717

18-
prepare_tools:
18+
build:
1919
name: Prepare the Tools
2020
runs-on: ubuntu-latest
2121
steps:
@@ -31,35 +31,15 @@ jobs:
3131
- name: Install promu
3232
run: make promu
3333

34-
- name: Upload Project Source Code
35-
uses: actions/upload-artifact@v1
36-
with:
37-
name: prj_src
38-
path: .
39-
40-
- name: Show Project Files
41-
run: ls -la
42-
43-
test:
44-
name: Test
45-
needs: prepare_tools
46-
runs-on: ubuntu-latest
47-
steps:
48-
- name: Download Project Source Code
49-
uses: actions/download-artifact@v1
50-
with:
51-
name: prj_src
52-
53-
- name: Move Project Source Code to Root Path
54-
run: mv prj_src/* . && rm -rf prj_src/
55-
shell: bash
56-
57-
- name: Show Project Files
34+
- name: Show Project Files Before Make
5835
run: ls -la
5936

6037
- name: Build and Test
6138
run: make
6239

40+
- name: Show Project Files After Make
41+
run: ls -la
42+
6343
- name: Check code modifications
6444
run: git diff --exit-code
6545

0 commit comments

Comments
 (0)