forked from fortify/plugin-api
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (21 loc) · 704 Bytes
/
ci.yml
File metadata and controls
24 lines (21 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
on:
push:
branches:
- '**'
name: CI
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check-out source code
uses: actions/checkout@v2
- name: Build
run: ./gradlew build
- name: Publish to OSSRH
if: github.ref == 'refs/heads/master'
run: ./gradlew publishToOSSRH closeOSSRHStagingRepository
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PWD }}
ORG_GRADLE_PROJECT_OSSRHUsername: ${{ secrets.OSSRH_USER_NAME }}
ORG_GRADLE_PROJECT_OSSRHPassword: ${{ secrets.OSSRH_PASSWORD }}