1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
Slimefun4/.github/workflows/discord-webhook.yml

33 lines
695 B
YAML
Raw Normal View History

name: Discord Webhook
on:
push:
paths:
- 'src/**'
2020-10-10 17:40:45 +00:00
- '!src/main/resources/languages/**'
- 'pom.xml'
2021-01-11 11:33:49 +00:00
tags-ignore:
- 'RC.*'
jobs:
report:
2020-08-06 07:52:59 +00:00
name: Discord Webhook
runs-on: ubuntu-latest
2020-09-06 15:19:17 +00:00
if: github.repository == 'Slimefun/Slimefun4'
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
- name: Set up Java JDK 11
uses: actions/setup-java@v1.4.3
with:
java-version: '11'
java-package: jdk
architecture: x64
- name: Run Discord Webhook
uses: Slimefun/discord-webhook@master
with:
id: ${{ secrets.DISCORD_WEBHOOK_ID }}
token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}