Update .gitea/workflows/release-nighty.yaml
This commit is contained in:
parent
550542ae50
commit
3968a0e0c8
@ -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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user