Skip to content

Bump to 1.18.2

Bump to 1.18.2 #23

Workflow file for this run

name: TrackAPI CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: secrets
env:
MAVENCI: ${{ secrets.MAVENCI }}
run: mkdir -p /home/runner/.gradle/daemon/6.9/ && echo "${MAVENCI}" >> /home/runner/.gradle/daemon/6.9/publish_key && echo "${MAVENCI}" >> publish_key
- name: Gradle uploadArchives
run: ./gradlew uploadArchives
- name: cleanup
run: rm /home/runner/.gradle/daemon/6.9/publish_key
- uses: actions/upload-artifact@v2-preview
with:
name: UniversalModCore-${{ env.ref }}
path: build/libs/UniversalModCore-*.jar