Skip to content

Spartan Weaponry Integration! #222 #775

Spartan Weaponry Integration! #222

Spartan Weaponry Integration! #222 #775

Workflow file for this run

name: Java CI
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 8
- name: Change Gradlew file permissions
run: chmod +x gradlew
- name: Setup Workspace
run: ./gradlew setupCiWorkspace
- name: Build & Compile
run: ./gradlew build --stacktrace
# - name: Send Webhook Notification
# if: always()
# env:
# JOB_STATUS: ${{ job.status }}
# WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}
# HOOK_OS_NAME: ${{ runner.os }}
# WORKFLOW_NAME: ${{ github.workflow }}
# run: |
# git clone https://github.com/DiscordHooks/github-actions-discord-webhook.git webhook
# bash webhook/send.sh $JOB_STATUS $WEBHOOK_URL
# shell: bash