Skip to content

Missed this

Missed this #151

name: Build 1.20.1
on:
push:
branches:
- '1.20.1/**'
pull_request:
branches:
- '1.20.1/**'
workflow_dispatch:
env:
JAVA_VERSION: 17
MODRINTH_TOKEN: ${{ secrets.PUBLISH_MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.PUBLISH_CURSEFORGE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
CURSEFORGE_ID: 1027757
MODRINTH_ID: nR8D9Tc2
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Environment Variables
run: env
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 17
- name: Download Modern Warfare
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./forge/jars/cbcmodernwarfare-0.0.5f+mc.1.20.1-forge.jar
googleFileId: 15KCNyGuQKrEgxLQ0tSdnper99MO-CEyv
- name: Download Create Big Cannons (Common)
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./common/jars/createbigcannons-5.6.0-dev-mc.1.20.1-fabric-build.87.jar
googleFileId: 1e_HE8RAPTTIpMtmHp4n1VsoGumqyFlzG
- name: Download Create Big Cannons (Fabric)
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./fabric/jars/createbigcannons-5.6.0-dev-mc.1.20.1-fabric-build.87.jar
googleFileId: 1e_HE8RAPTTIpMtmHp4n1VsoGumqyFlzG
- name: Download Create Big Cannons (Forge)
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./forge/jars/createbigcannons-5.6.0-dev-mc.1.20.1-forge-build.87.jar
googleFileId: 1eaFIoPYUcroNHynGEgTK-gg5t1n_OHyl
- name: Download FTB Chunks
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./common/jars/ftb-chunks-fabric-2001.3.1.jar
googleFileId: 1syotEGMA2svNL2vaXp35yF7fD9NyDmZp
- name: Download Presence Footsteps Forge
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./forge/jars/PresenceFootsteps-1.20.1-1.9.1-beta.1.jar
googleFileId: 1p-GREqHqYlaQsIJ7cjEydxJYgqSyHgBb
- name: Download Tallyho
uses: Fork-on-the-Table-Collective/upload-to-download-from-gdrive@v2.0.0
with:
credentials: ${{ secrets.GSA_CREDENTIALS }}
actionType: download
localPath: ./forge/jars/tallyho-3.0.8.jar
googleFileId: 1B0JbYHXQOj_g666pOvs-FmDvK6hUd7LK
- name: Make Gradle Wrapper Executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build
run: ./gradlew clean build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact
path: |
./build/libs/merged/*
./common/build/libs/*
./fabric/build/libs/*
./forge/build/libs/*
./CHANGELOG.md