File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Test architecture option
2
2
3
3
on :
4
- push :
5
- branches :
6
- - sapMachine
4
+ # push:
5
+ # branches:
6
+ # - sapMachine
7
7
8
8
workflow_dispatch :
9
9
Original file line number Diff line number Diff line change
1
+ name : Test PublishinG to GPR using Gradle
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - sapMachine
7
+
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ test :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Set up Java
19
+ uses : Shegox/setup-java@main
20
+ with :
21
+ distribution : ' sapmachine'
22
+ java-version : ' 11'
23
+
24
+ - name : Build with Gradle
25
+ run : gradle build
26
+
27
+ - name : Publish to GitHub Packages
28
+ run : gradle publish
29
+ env :
30
+ USERNAME : ${{ github.actor }}
31
+ PASSWORD : ${{ secrets.GITHUB_TOKEN }}
32
+
You can’t perform that action at this time.
0 commit comments