File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ name: Java CI with Maven
1010
1111on :
1212 push :
13- branches : [ "main" ]
13+ branches : ["main"]
1414 pull_request :
15- branches : [ "main" ]
15+ branches : ["main"]
1616
1717jobs :
1818 get-secret :
3434 uses : azure/CLI@v1
3535 with :
3636 inlineScript : |
37- SECRET_VALUE=$(az keyvault secret show --name <SECRET_NAME> --vault-name ${{ secrets.KEYVAULT_NAME }} --query value -o tsv)
37+ SECRET_VALUE=$(az keyvault secret show --name postgres-host --vault-name ${{ secrets.KEYVAULT_NAME }} --query value -o tsv)
3838 echo "::add-mask::$SECRET_VALUE"
3939 echo "SECRET_VALUE=$SECRET_VALUE" >> $GITHUB_ENV
4040 - name : Use retrieved secret
@@ -46,16 +46,15 @@ jobs:
4646 env :
4747 SECRET_VALUE : ${{ env.SECRET_VALUE }}
4848 build :
49-
5049 runs-on : ubuntu-latest
5150
5251 steps :
53- - uses : actions/checkout@v4
54- - name : Set up JDK 21
55- uses : actions/setup-java@v4
56- with :
57- java-version : ' 21 '
58- distribution : ' temurin'
59- cache : maven
60- - name : Build with Maven
61- run : mvn -B package --file pom.xml
52+ - uses : actions/checkout@v4
53+ - name : Set up JDK 21
54+ uses : actions/setup-java@v4
55+ with :
56+ java-version : " 21 "
57+ distribution : " temurin"
58+ cache : maven
59+ - name : Build with Maven
60+ run : mvn -B package --file pom.xml
You can’t perform that action at this time.
0 commit comments