Skip to content

chore(deps): bump slackapi/slack-github-action from 1.26.0 to 1.27.0 #48

chore(deps): bump slackapi/slack-github-action from 1.26.0 to 1.27.0

chore(deps): bump slackapi/slack-github-action from 1.26.0 to 1.27.0 #48

name: Snapshot
on:
pull_request:
branches: [ 'master' ]
types: [ 'opened', 'reopened', 'edited', 'synchronize' ]
jobs:
snapshot:
runs-on: ubuntu-latest
environment: deployment
steps:
- name: Checkout source branch
uses: actions/checkout@v4
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: cache gradle dependencies
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-core-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-core-
- name: Publish snapshot to sonatype
run: ./gradlew publishToSonatype
env:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.NEXUS_USERNAME }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.NEXUS_PASSWORD }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
SIGNING_PRIVATE_KEY_BASE64: ${{ secrets.SIGNING_PRIVATE_KEY_BASE64 }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}