-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (24 loc) · 940 Bytes
/
Copy pathrelease.yml
File metadata and controls
27 lines (24 loc) · 940 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
25
26
27
# Example: Copy this to your repo as .github/workflows/release.yml
# Configuration is read from .github/project.yml - no inputs needed!
name: Release
on:
pull_request:
types: [closed]
paths:
- '.github/project.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
release:
permissions:
contents: write
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
uses: cuioss/cuioss-organization/.github/workflows/reusable-maven-release.yml@9cffe3a2febb07d668784a1257b025101228754d # v0.27.0
secrets:
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
OSS_SONATYPE_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
OSS_SONATYPE_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}