Skip to content

Commit 314ed83

Browse files
committed
chore: fix Github action 'build' and 'test' (adding 'gimme-a-man')
1 parent 5c4123d commit 314ed83

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/build.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ jobs:
2626
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2727
- uses: actions/checkout@v2
2828

29+
# Checks-out the gimme-a-man repo
30+
- uses: actions/checkout@v2
31+
with:
32+
# Repository name with owner. For example, actions/checkout
33+
# Default: ${{ github.repository }}
34+
repository: mbideau/gimme-a-man
35+
# Relative path under $GITHUB_WORKSPACE to place the repository
36+
path: gimme-a-man
37+
2938
# Install required packages dependencies
3039
- name: Install required packages dependencies
3140
run: |
@@ -34,4 +43,4 @@ jobs:
3443
3544
# Runs make
3645
- name: Run make
37-
run: make
46+
run: GIMME_A_MAN="$(pwd)"/gimme-a-man/gimme_a_man.sh make

.github/workflows/test.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
# Relative path under $GITHUB_WORKSPACE to place the repository
3838
path: shunit2
3939

40+
# Checks-out the gimme-a-man repo
41+
- uses: actions/checkout@v2
42+
with:
43+
# Repository name with owner. For example, actions/checkout
44+
# Default: ${{ github.repository }}
45+
repository: mbideau/gimme-a-man
46+
# Relative path under $GITHUB_WORKSPACE to place the repository
47+
path: gimme-a-man
48+
4049
# Install required packages dependencies
4150
- name: Install required packages dependencies
4251
run: |
@@ -45,7 +54,7 @@ jobs:
4554
4655
# Build the program
4756
- name: Building the program
48-
run: make
57+
run: GIMME_A_MAN="$(pwd)"/gimme-a-man/gimme_a_man.sh make
4958

5059
# Create a BTRFS file
5160
- name: Creating an image file with a BTRFS filesystem

0 commit comments

Comments
 (0)