forked from AuthorizeNet/sample-code-java
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (25 loc) · 700 Bytes
/
Copy pathCI.yml
File metadata and controls
34 lines (25 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Sample github workflow
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
- name: print the files which are checkout
run: ls
- name: Setup java
uses: actions/setup-java@v5.0.0
with:
java-version: 17
distribution: microsoft
- name: Building the code
run: mvn --batch-mode --update-snapshots verify
- name: Upload the artifact
uses: actions/upload-artifact@v4.6.2
with:
name: test # give any name
path: target