Skip to content

Commit b7a5d9a

Browse files
authored
Update blank.yml
1 parent 078164b commit b7a5d9a

File tree

1 file changed

+9
-34
lines changed

1 file changed

+9
-34
lines changed

.github/workflows/blank.yml

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,50 +16,25 @@ on:
1616
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717
jobs:
1818
# This workflow contains a single job called "build"
19-
build:
19+
build:
2020
# The type of runner that the job will run on
2121
runs-on: ubuntu-latest
2222

2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
#- uses: actions/checkout@v3
26+
- uses: actions/checkout@v3
2727

2828
# 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
3131

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
5434
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
6338
6439
6540

0 commit comments

Comments
 (0)