Kinda fix async script parsing #6
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 & Publish Gradle project | |
on: | |
push: | |
branches: | |
- main | |
- dev/dev | |
jobs: | |
build-gradle-project: | |
env: | |
REPO_USER: ${{ secrets.REPO_USERNAME }} | |
REPO_PASS: ${{ secrets.REPO_PASSWORD }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup JDK 21 for x64 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: corretto | |
architecture: x64 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Run shadowJar and publish with Gradle Wrapper | |
run: ./gradlew app:shadowJar api:publish -ProxymcUsername=${{ env.REPO_USER }} -ProxymcPassword=${{ env.REPO_PASS }} | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: app/build/libs |