2022-01-20 13:05:17 +00:00
|
|
|
name: Maven Deploy Package
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
secrets:
|
|
|
|
server-username:
|
|
|
|
required: true
|
|
|
|
server-password:
|
|
|
|
required: true
|
|
|
|
deploy-secret-key:
|
|
|
|
required: true
|
|
|
|
deploy-secret-key-password:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repo
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Deploy package
|
|
|
|
uses: valitydev/action-deploy-jdk-package@v1.0.12
|
|
|
|
with:
|
2022-01-20 15:12:20 +00:00
|
|
|
server-username: ${{ secrets.server-username }}
|
|
|
|
server-password: ${{ secrets.server-password }}
|
|
|
|
deploy-secret-key: ${{ secrets.deploy-secret-key }}
|
2022-01-24 09:16:48 +00:00
|
|
|
deploy-secret-key-password: ${{ secrets.deploy-secret-key-password }}
|
|
|
|
code-coverage:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Upload code coverage
|
|
|
|
uses: codecov/codecov-action@v1
|