Merge remote-tracking branch 'origin/12.x-1.20' into 13.x-1.20.2 #741
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: CF CI | |
on: | |
push: | |
branches: | |
- 3.x | |
- 4.x-unstable | |
- 4.x | |
- 5.x | |
- 6.x | |
- 6.x-1.17 | |
- 7.x-1.18 | |
- 8.x-1.18.2 | |
- 9.x-1.19 | |
- 10.x-1.19.3 | |
- 11.x-1.19.4 | |
- 11.x-23w13a_or_b | |
- 12.x-1.20 | |
- 13.x-1.20.2 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Upload Mod | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build publish forge:publishUnified neoforge:publishUnified fabric:publishUnified --stacktrace | |
env: | |
danielshe_curse_api_key: ${{ secrets.CF_API_KEY }} | |
modrinth_key: ${{ secrets.MODRINTH_KEY }} | |
BRANCH_NAME: ${{ github.ref }} | |
MAVEN_PASS: ${{ secrets.MAVEN_PASS }} |