Skip to content

Commit 6150692

Browse files
committed
ci: formatting YAML
Signed-off-by: Maximillian Arruda <dearrudam@gmail.com>
1 parent bf12f0e commit 6150692

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/java-11.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,37 @@ on:
2525
# events, we also want to react onto `labeled` events for our extended
2626
# build execution
2727
pull_request:
28-
types: [labeled, opened, synchronize, reopened]
28+
types: [ labeled, opened, synchronize, reopened ]
2929

3030
jobs:
3131
build:
3232

3333
runs-on: ubuntu-latest
3434

3535
steps:
36-
- uses: actions/checkout@v3
37-
- name: Set up JDK 11
38-
uses: actions/setup-java@v3
39-
with:
40-
distribution: 'temurin'
41-
java-version: 11
42-
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
43-
server-username: MAVEN_USERNAME # env variable for username in deploy
44-
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
45-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
46-
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
47-
48-
- name: Cache local Maven repository
49-
uses: actions/cache@v3
50-
with:
51-
path: ~/.m2/repository
52-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
53-
restore-keys: |
54-
${{ runner.os }}-maven
55-
56-
- name: Build with Maven
57-
run: mvn -B verify -P run-its
58-
env:
59-
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
60-
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
61-
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
36+
- uses: actions/checkout@v3
37+
- name: Set up JDK 11
38+
uses: actions/setup-java@v3
39+
with:
40+
distribution: 'temurin'
41+
java-version: 11
42+
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
43+
server-username: MAVEN_USERNAME # env variable for username in deploy
44+
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
45+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
46+
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
47+
48+
- name: Cache local Maven repository
49+
uses: actions/cache@v3
50+
with:
51+
path: ~/.m2/repository
52+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
53+
restore-keys: |
54+
${{ runner.os }}-maven
55+
56+
- name: Build with Maven
57+
run: mvn -B verify -P run-its
58+
env:
59+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
60+
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
61+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)