Skip to content

⬆️ MDTX v146.004 #113

⬆️ MDTX v146.004

⬆️ MDTX v146.004 #113

Workflow file for this run

name: BuildPlugin
on:
push:
branches-ignore:
- 'private*'
paths:
- 'plugin/'
- 'build.gradle.kts'
- 'dependencies.gradle.kts'
pull_request:
paths:
- 'plugin/'
- 'build.gradle.kts'
- 'dependencies.gradle.kts'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
libs
~/.gradle/caches
~/.gradle/wrapper
key: deps-${{ hashFiles('dependencies.gradle.kts', '**/gradle-wrapper.properties') }}
restore-keys: |
deps-
# Runs a single command using the runners shell
- name: Run gradle buildPlugin
run: ./gradlew buildPlugin
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: ScriptAgent-beta-${{github.run_num}}.jar
path: build/libs