FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
solid-client-java/.github/workflows/cd-config.yml at main · maddingo/solid-client-java · GitHub
maddingo
solid-client-java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
solid-client-java
/
.github
/
workflows
/
cd-config.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
58 lines (50 loc) · 1.6 KB
Breadcrumbs
solid-client-java
/
.github
/
workflows
/
cd-config.yml
Copy path
File metadata and controls
58 lines (50 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name
:
Solid Java Client CD
on
:
push
:
branches
:
-
main
tags
:
-
inrupt-client-[0-9]+.[0-9]+.[0-9]+
-
inrupt-client-[0-9]+.[0-9]+.[0-9]+.Alpha[0-9]+
-
inrupt-client-[0-9]+.[0-9]+.[0-9]+.Beta[0-9]+
jobs
:
deployment
:
name
:
Deploy artifacts
runs-on
:
ubuntu-latest
environment
:
name
:
${{ matrix.envName }}
strategy
:
matrix
:
envName
:
["Development", "Production"]
release
:
-
${{ contains(github.ref, 'inrupt-client-') }}
exclude
:
-
release
:
false
envName
:
"
Production
"
-
release
:
true
envName
:
"
Development
"
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Set up JDK 17
uses
:
actions/setup-java@v5
with
:
distribution
:
'
temurin
'
java-version
:
17
cache
:
'
maven
'
server-id
:
'
central
'
server-username
:
MAVEN_REPO_USERNAME
server-password
:
MAVEN_REPO_TOKEN
gpg-private-key
:
${{ secrets.GPG_SIGNING_KEY }}
gpg-passphrase
:
MAVEN_GPG_PASSPHRASE
-
name
:
Build the code with Maven
run
:
mvn -B -ntp install -Pci
-
name
:
Deploy Artifacts
if
:
${{ github.actor != 'dependabot[bot]' }}
run
:
mvn deploy -P publish
env
:
MAVEN_REPO_USERNAME
:
${{ secrets.SONATYPE_USERNAME }}
MAVEN_REPO_TOKEN
:
${{ secrets.SONATYPE_TOKEN }}
MAVEN_GPG_PASSPHRASE
:
${{ secrets.GPG_PASSPHRASE }}
-
name
:
Sonar Analysis
if
:
${{ github.actor != 'dependabot[bot]' }}
run
:
mvn sonar:sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL