From 3968a0e0c8e8bcbfbdc9e2d922cba4bf89fcabc0 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 11 Aug 2023 12:19:03 +0200 Subject: [PATCH] Update .gitea/workflows/release-nighty.yaml --- .gitea/workflows/release-nighty.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release-nighty.yaml b/.gitea/workflows/release-nighty.yaml index 0784864..c89a3d3 100644 --- a/.gitea/workflows/release-nighty.yaml +++ b/.gitea/workflows/release-nighty.yaml @@ -37,10 +37,20 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: Kir-Antipov/mc-publish@v3.3 - working-directory: ./mod + - name: Set up JDK + uses: actions/setup-java@v1 with: - github_token: ${{ secrets.GITEA_TOKEN }} + java-version: 17 - + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew build + + - name: Upload GitHub release + uses: AButler/upload-release-assets@v2.0 + with: + files: 'build/libs/*.jar;!build/libs/*-sources.jar;!build/libs/*-dev.jar' + repo-token: ${{ secrets.GITHUB_TOKEN }}