Skip to content

Commit

Permalink
Debug action
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Dec 17, 2023
1 parent 03eb89d commit 3f7bbd1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,15 @@ jobs:
# ================================
- name: Export Gradle project properties
id: properties
uses: guillermocalvo/github-action-export-gradle-properties@v1
uses: guillermocalvo/github-action-export-gradle-properties@main
with:
change_dir: .
project_dir: .
property: version

# ================================
# PUBLISH
# ================================
- name: Publish snapshot
if: endsWith(${{ steps.properties.outputs.version }}, '-SNAPSHOT')
env:
ORG_GRADLE_PROJECT_githubUsername: ${{ secrets.PUBLISH_USERNAME }}
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.PUBLISH_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
uses: gradle/gradle-build-action@v2
with:
arguments: publish -Psnapshot --info --scan
run: echo ok

0 comments on commit 3f7bbd1

Please sign in to comment.