Eliminar .github/workflows/build-release.yml
Some checks failed
build / build (17, ubuntu-20.04) (push) Has been cancelled
Some checks failed
build / build (17, ubuntu-20.04) (push) Has been cancelled
This commit is contained in:
42
.github/workflows/build-release.yml
vendored
42
.github/workflows/build-release.yml
vendored
@@ -1,42 +0,0 @@
|
|||||||
name: build-release
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types:
|
|
||||||
- published
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Set up JDK 16
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
distribution: 'temurin'
|
|
||||||
java-version: 17
|
|
||||||
- name: Cache Gradle packages
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/loom-cache
|
|
||||||
~/.gradle/wrapper
|
|
||||||
~/.m2/repository
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: ${{ runner.os }}-gradle
|
|
||||||
|
|
||||||
- run: chmod +x gradlew
|
|
||||||
|
|
||||||
- name: Build Release
|
|
||||||
run: ./gradlew build --stacktrace
|
|
||||||
|
|
||||||
- name: Upload artifacts to Modrinth, Curseforge and GitHub
|
|
||||||
uses: Kir-Antipov/mc-publish@v3.3
|
|
||||||
with:
|
|
||||||
modrinth-id: jawg7zT1
|
|
||||||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
|
||||||
|
|
||||||
curseforge-id: 594750
|
|
||||||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user