29 lines
844 B
YAML
29 lines
844 B
YAML
name: Release Builds
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'pmd_releases/*'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: false
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Ruby 2.7
|
|
uses: actions/setup-ruby@v1
|
|
with:
|
|
ruby-version: 2.7
|
|
- name: Check Environment
|
|
run: .ci/check-environment.sh
|
|
shell: bash
|
|
- name: Build
|
|
run: .ci/build.sh
|
|
shell: bash
|
|
env:
|
|
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=180 -Dmaven.wagon.http.retryHandler.count=3
|
|
PMD_CI_SECRET_PASSPHRASE: ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
|
|
PMD_CI_JOB_URL: "https://github.com/pmd/pmd/runs/${{ github.run_id }}"
|
|
PMD_CI_PUSH_COMMIT_COMPARE: ${{ github.event.compare }}
|
|
PMD_CI_GIT_REF: ${{ github.ref }}
|