Skip to content

1.5.0-SNAPSHOT

1.5.0-SNAPSHOT #29

Workflow file for this run

name: DemoBuild
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn -B package
- uses: jungwinter/split@v2
id: split
with:
msg: ${{github.repository}}
separator: "/"
- name: Build passsed
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.DISCORD }}
username: "${{ steps.split.outputs._1 }}"
avatar-url: "https://github.com/${{ github.actor }}.png"
embed-color: "65280"
embed-author-name: "${{ github.actor }} pushed an update for ${{ steps.split.outputs._1 }}"
embed-author-url: "https://github.com/${{ github.actor }}"
embed-author-icon-url: "https://github.com/${{ github.actor }}.png"
embed-footer-text: "Build #${{github.run_number}} passed"
embed-footer-icon-url: "https://i.imgur.com/D5KVghH.png"
embed-description: |
${{ github.event.head_commit.message }}
[SpigotMC](https://www.spigotmc.org/resources/118953/)
[Hangar](https://hangar.papermc.io/VoChiDanh/Dungeons)
[Dungeon Editor Tutorial](https://youtu.be/fOpgUL5dkdo)
[Dungeon Showcase](https://youtu.be/kUcsXGrBRVs)
[Example Dungeon Files](https://github.com/VoChiDanh/Dungeons/tree/master/ExampleDungeon)
filename: "./target/Dungeons.jar"