Skip to content

Merge remote-tracking branch 'origin/1.10.2-forge' into 1.7.10-forge #1080

Merge remote-tracking branch 'origin/1.10.2-forge' into 1.7.10-forge

Merge remote-tracking branch 'origin/1.10.2-forge' into 1.7.10-forge #1080

Workflow file for this run

name: Universal Mod Core CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '1.8' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to x64
- run: |
ref=`echo ${github_ref} | sed -e 's,refs/heads/,,' | tr '/' '-'`
echo $ref
echo "::set-env name=ref::$ref"
env:
github_ref: ${{ github.ref }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: keyscan
run: mkdir -p ~/.ssh/ && ssh-keyscan -t rsa teamopenindustry.cc >> ~/.ssh/known_hosts
- name: Gradle publish
env:
MAVENCI_PASS: ${{ secrets.MAVENCI_PASS }}
run: ./gradlew publish
- uses: actions/upload-artifact@v2-preview
with:
name: UniversalModCore-${{ env.ref }}
path: build/libs/UniversalModCore-*.jar