Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabaz Basha Kowthalam committed Nov 12, 2024
1 parent 707d22a commit da692a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
java-version: '11'
distribution: 'adopt-openj9'

- name: Set up Git
- name: Set up git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down Expand Up @@ -53,10 +53,10 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Create dist
run: ./gradlew "-PpluginVersion=${{ steps.getNextTag.outputs.value }}" dist
- name: Create plugin zip
run: ./gradlew "-PpluginVersion=${{ steps.getNextTag.outputs.value }}"

- name: Create GitHub Release
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.getNextTag.outputs.value }}
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {
id 'java'
}

defaultTasks("dist")

tasks.register("dist", Zip) {

dependsOn("build")
Expand Down

0 comments on commit da692a2

Please sign in to comment.