Fix a minor string error in the /loritools loriunban
command.
#99
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: Build Loritta Helper Pull Request | |
on: [ pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get current time | |
uses: gerred/actions/current-time@master | |
id: current-time | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
# Runs a single command using the runners shell | |
- name: Build with Gradle | |
run: "./gradlew build -Dbuild.number=$GITHUB_RUN_NUMBER -Dgit.branch=$GITHUB_REF -Dcommit.hash=$GITHUB_SHA -Dcompiled.at=${{ steps.current-time.outputs.time }}" | |
# Upload Artifacts to GitHub | |
# Loritta | |
- uses: actions/upload-artifact@v2 | |
name: "Upload Loritta Helper" | |
with: | |
name: Loritta Helper (Discord) | |
path: build/libs/loritta-helper-*.jar | |
# Libs | |
- uses: actions/upload-artifact@v2 | |
name: "Upload Loritta Helper's Libs" | |
with: | |
name: Loritta Helper (Libs) | |
path: libs/* |