Skip to content

chore: update workflow versions #37

chore: update workflow versions

chore: update workflow versions #37

Workflow file for this run

name: TrackAPI CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- 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: echo "${MAVENCI}" >> publish_key
- name: Gradle uploadArchives
run: ./gradlew uploadArchives
- name: cleanup
run: rm publish_key
- uses: actions/upload-artifact@v6
with:
name: UniversalModCore-${{ env.ref }}
path: build/libs/UniversalModCore-*.jar