File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' **'
7+ branches-ignore :
8+ - ' **'
9+
10+ jobs :
11+ build_libraries :
12+ runs-on : ${{ matrix.os.runner }}
13+ strategy :
14+ matrix :
15+ os :
16+ - runner : ubuntu-22.04
17+ type : linux
18+ platform : linux-amd64
19+ - runner : ubuntu-22.04-arm
20+ type : linux
21+ platform : linux-arm64
22+ - runner : macos-latest
23+ type : macos
24+ platform : darwin-arm64
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - uses : actions/setup-java@v4
29+ with :
30+ java-version : " 17"
31+ distribution : " temurin"
32+ cache : gradle
33+
34+ - if : ${{ matrix.os.platform != 'linux-amd64' }}
35+ name : java
36+ run : |
37+ ./gradlew publish -Prelease=true -PdeployUser=${{ secrets.deploy_user }} -PdeployPassword=${{ secrets.deploy_password }}
38+
39+ - if : ${{ matrix.os.platform == 'linux-amd64' }}
40+ name : java rhel9
41+ uses : kohlerdominik/docker-run-action@v2.0.0
42+ with :
43+ image : almalinux:9
44+ workdir : /workspace
45+ volumes : |
46+ ${{ github.workspace }}:/workspace
47+ environment : |
48+ JAVA_HOME=/usr
49+ run : |
50+ dnf update -y
51+ dnf install -y java-17-openjdk-devel g++ cmake
52+ pwd
53+ ls -l
54+ ./gradlew publish -Prelease=true -PdeployUser=${{ secrets.deploy_user }} -PdeployPassword=${{ secrets.deploy_password }}
Original file line number Diff line number Diff line change 1- name : publish
1+ name : snapshot
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+ tags-ignore :
8+ - ' **'
49
510jobs :
611 build_libraries :
You can’t perform that action at this time.
0 commit comments