Skip to content

feat(pull-request): support pagination in list commits (#241) #421

feat(pull-request): support pagination in list commits (#241)

feat(pull-request): support pagination in list commits (#241) #421

Workflow file for this run

name: maven-release
on:
push:
branches:
- master
paths-ignore:
- '*.md'
- '.gitignore'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: corretto
cache: maven
server-id: ossrh # Value of distributionManagement.repository.id field of pom.xml
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
settings-path: ${{ github.workspace }} # Location for settings.xml file
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY_ABHI }}
gpg-passphrase: GPG_PASSPHRASE
- name: Publish with Maven deploy
run: |
if [ "${{ env.ACTIONS_STEP_DEBUG }}" == "true" ]; then
mvn --batch-mode --activate-profiles deploy --settings $GITHUB_WORKSPACE/settings.xml -Pcoverage clean deploy -X
else
mvn --batch-mode --activate-profiles deploy --settings $GITHUB_WORKSPACE/settings.xml -Pcoverage clean deploy
fi
env:
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE_ABHI }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
get-tag-of-current-sha:
needs: build
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.tag-retriever.outputs.tag }}
# Var is empty if command to retrieve tag fails (e.g. if current SHA has no tag associated)
steps:
- name: Clone repo with complete history and tags
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Store tag of SHA if present
id: tag-retriever
run: |
echo "tag=$(git describe --exact-match ${{ github.sha }})" >> "$GITHUB_OUTPUT"
trigger-github-release:
needs: get-tag-of-current-sha
name: Trigger GitHub release workflow
if: needs.get-tag-of-current-sha.outputs.tag
# Runs job only if tag is present.
uses: ./.github/workflows/release-on-github.yml
with:
tag: ${{ needs.get-tag-of-current-sha.outputs.tag }}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy