Skip to content

Don't play animations if loaded in a given state #39

Don't play animations if loaded in a given state

Don't play animations if loaded in a given state #39

Workflow file for this run

name: Immersive Railroading Build Pipeline
on:
push:
branches-ignore:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
branch: [1.12.2-forge, 1.16.5-forge]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: keyscan
run: mkdir -p ~/.ssh/ && ssh-keyscan -t rsa teamopenindustry.cc >> ~/.ssh/known_hosts
- name: Install deps
run: sudo apt install -y pngquant findutils xvfb
- name: Setup Universal Mod Core (and helpers)
env:
BRANCH: ${{ matrix.branch }}
run: java -jar UMCSetup.jar ${BRANCH} https
- name: Gradle compile
run: ./gradlew classes
- name: Process images
run: find src/main/resources/assets/immersiverailroading/ | grep png | xargs -I foo pngquant -s1 -f --ext .png foo
- name: Run Data (optionalish)
run: xvfb-run --auto-servernum ./gradlew runData || xvfb-run --auto-servernum ./gradlew runData || true
- name: Gradle build
run: ./gradlew build
- name: Gradle publish
env:
MAVENCI_PASS: ${{ secrets.MAVENCI_PASS }}
run: ./gradlew publish
- uses: actions/upload-artifact@v2
with:
name: Immersive Railroading ${{matrix.branch}}
path: build/libs/ImmersiveRailroading-${{matrix.branch}}-*