|
16 | 16 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
17 | 17 | jobs:
|
18 | 18 | # This workflow contains a single job called "build"
|
19 |
| - build: |
| 19 | + build: |
20 | 20 | # The type of runner that the job will run on
|
21 | 21 | runs-on: ubuntu-latest
|
22 | 22 |
|
23 | 23 | # Steps represent a sequence of tasks that will be executed as part of the job
|
24 | 24 | steps:
|
25 | 25 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
26 |
| - #- uses: actions/checkout@v3 |
| 26 | + - uses: actions/checkout@v3 |
27 | 27 |
|
28 | 28 | # Runs a single command using the runners shell
|
29 |
| - - name: Step 1 - Log the pre-build disc space |
30 |
| - run: df |
| 29 | + - name: Run a one-line script |
| 30 | + run: sh. /github-actions-script.sh |
31 | 31 |
|
32 |
| - - name: Step 2 - Checkout the main Github branch |
33 |
| - uses: actions/checkout@v2 |
34 |
| - |
35 |
| - - name: Step 3 - Set up JDK 1.8 |
36 |
| - uses: actions/setup-java@v1 |
37 |
| - with: |
38 |
| - java-version : 1.8 |
39 |
| - |
40 |
| - - name: Step 4 - Buuild your your Jakarta web app with Maven |
41 |
| - run: echo mvn -B package --file pom.xml |
42 |
| - |
43 |
| - - name: Step 5 - Build the native Android app |
44 |
| - run: | |
45 |
| - echo Here is the ANDROID_SDK_ROOT |
46 |
| - echo $ANDROID_SDK_ROOT |
47 |
| -
|
48 |
| - - name: Step 6 - Run your Selenium tests |
49 |
| - run: | |
50 |
| - echo the SELENIUM_JAR_PATH |
51 |
| - echo $SELENIUM_JAR_PATH |
52 |
| -
|
53 |
| - - name: Step 7 - Log build tool versions |
| 32 | + # Runs a set of commands using the runners shell |
| 33 | + - name: Run a multi-line script |
54 | 34 | run: |
|
55 |
| - git --version |
56 |
| - mvn --version |
57 |
| - ant --version |
58 |
| - gradle --version |
59 |
| -
|
60 |
| - - name: Step 8 - Log the post-build disc space |
61 |
| - run: df |
62 |
| - |
| 35 | + echo Nothing to see in the multi-line script |
| 36 | + echo Here is what is in the folder? |
| 37 | + ls -a |
63 | 38 |
|
64 | 39 |
|
65 | 40 |
|
|
0 commit comments