change names to shopmc #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Gradle | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
fail-fast: true | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/[email protected] | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.java }} | |
- name: Build Itemszop | |
run: ./gradlew build | |
- name: Upload Itemszop | |
uses: actions/[email protected] | |
with: | |
name: Itemszop Built On ${{ matrix.java }} JDK | |
path: "Spigot/build/libs/Itemszop*.jar" | |
- name: Upload Itemszop | |
uses: actions/[email protected] | |
with: | |
name: Itemszop Built On ${{ matrix.java }} JDK | |
path: "BungeeCord/build/libs/Itemszop*.jar" | |
- name: Upload Itemszop | |
uses: actions/[email protected] | |
with: | |
name: Itemszop Built On ${{ matrix.java }} JDK | |
path: "Velocity/build/libs/Itemszop*.jar" | |
- uses: dev-drprasad/[email protected] | |
with: | |
delete_release: true | |
tag_name: dev-build-jdk-${{ matrix.java }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Release the build | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "Spigot/build/libs/Itemszop*.jar" | |
body: ${{ join(github.event.commits.*.message, '\n') }} | |
prerelease: true | |
name: JDK ${{ matrix.java }} Dev-build | |
tag: dev-build-jdk-${{ matrix.java }} | |
- name: Release the build | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "BungeeCord/build/libs/Itemszop*.jar" | |
body: ${{ join(github.event.commits.*.message, '\n') }} | |
prerelease: true | |
name: JDK ${{ matrix.java }} Dev-build | |
tag: dev-build-jdk-${{ matrix.java }} | |
- name: Release the build | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "Velocity/build/libs/Itemszop*.jar" | |
body: ${{ join(github.event.commits.*.message, '\n') }} | |
prerelease: true | |
name: JDK ${{ matrix.java }} Dev-build | |
tag: dev-build-jdk-${{ matrix.java }} |