Use inbuilt version of Gradle.
@@ -23,12 +23,12 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Gradle
- run: gradle build docGen
+ run: ./gradlew build docGen
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
- run: gradle publish
+ run: ./gradlew publish
env:
USER: ${{ github.actor }}
KEY: ${{ secrets.GITHUB_TOKEN }}
@@ -37,22 +37,22 @@ jobs:
- name: Upload Plugin
uses: actions/upload-artifact@v2
with:
- name: plugin
+ name: Nucleus Plugin
path: output/*-plugin.jar
- name: Upload API
uses: actions/upload-artifact@v2
with:
- name: API
+ name: Nucleus API
path: output/*-API.jar
- name: Upload Javadocs
uses: actions/upload-artifact@v2
with:
- name: Javadocs
+ name: Nucleus Javadocs
path: output/*-javadocs.jar
- name: Upload YAML
uses: actions/upload-artifact@v2
with:
- name: YML
+ name: YML files from DocGen
path: output/*.yml
- name: Upload Release Notes
uses: actions/upload-artifact@v2
