We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56da562 commit 56dd0caCopy full SHA for 56dd0ca
.github/workflows/ci-cd-check.jar
3.37 MB
.github/workflows/oitm.yml
@@ -0,0 +1,29 @@
1
+name: Run Java JAR
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ run-jar-file:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ # Step 1: Checkout code
17
+ - name: Checkout code
18
+ uses: actions/checkout@v3
19
20
+ # Step 2: Set up Java
21
+ - name: Set up Java
22
+ uses: actions/setup-java@v3
23
+ with:
24
+ distribution: 'temurin' # Java distribution
25
+ java-version: '17' # Adjust to your required version
26
27
+ # Step 3: Run the JAR file
28
+ - name: Run JAR file
29
+ run: java -jar ci-cd-check.jar
0 commit comments