Skip to content

Commit

Permalink
Merge pull request #6 from iodigital-com/gradle-plugin-2
Browse files Browse the repository at this point in the history
Update release pipeline
  • Loading branch information
crysxd authored Oct 31, 2024
2 parents 37414e1 + 6290547 commit db498dc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Build distribution
- name: Build and publish
id: build
run: |
echo "${{ secrets.GRADLE_PUBLISH_KEY }}" > figex-cli/.figmatoken
./gradlew clean build -PAzureBuildNumber="${{ github.run_id }}" --no-build-cache
- name: Publish to Maven Central
run: ./gradlew publish -PAzureBuildNumber="${{ github.run_id }}" --no-build-cache
run: ./gradlew clean assemble publish publishPlugins -PAzureBuildNumber="${{ github.run_id }}" -Pgradle.publish.key="${{ secrets.GRADLE_PUBLISH_KEY }}" -Pgradle.publish.secret="${{ secrets.GRADLE_PUBLISH_SECRET }}" --no-build-cache
env:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralPassword }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKey }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyPassword }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralUsername }}

- name: Publish to Gradle Plugin Repository
run: ./gradlew publishPlugins -PAzureBuildNumber="${{ github.run_id }}" -Pgradle.publish.key="${{ secrets.GRADLE_PUBLISH_KEY }}" -Pgradle.publish.secret="${{ secrets.GRADLE_PUBLISH_SECRET }}" --no-build-cache

- name: Create tag
uses: tvdias/[email protected]
with:
Expand Down

0 comments on commit db498dc

Please sign in to comment.