Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Actions: Revert publish script
Browse files Browse the repository at this point in the history
to use burrunan/gradle-cache-action

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Jan 10, 2022
1 parent f41b96e commit f836b34
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,19 @@ jobs:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
- uses: gradle/gradle-build-action@v2
- name: validate plugin
run: ./gradlew validatePlugins
- name: publish plugin to portal
run: ./gradlew publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
uses: burrunan/gradle-cache-action@v1
with:
arguments: validatePlugins
save-gradle-dependencies-cache: true
- uses: burrunan/gradle-cache-action@v1
name: publish plugin to portal
with:
arguments: publishPlugins
save-gradle-dependencies-cache: true
properties: |
gradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
gradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
- name: Create Github Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -33,4 +41,4 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release v${{ steps.get_version.outputs.VERSION }}
draft: false
prerelease: false
prerelease: false

0 comments on commit f836b34

Please sign in to comment.