forked from Maxlego08/zEssentials
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 743 Bytes
/
Copy pathbuild.yml
File metadata and controls
30 lines (26 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Build Action
on:
push:
branches: [ main, develop ]
pull_request:
types: [ opened, synchronize, reopened ]
workflow_dispatch:
permissions:
contents: read
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and Publish zEssentials
uses: GroupeZ-dev/actions/.github/workflows/build.yml@main
with:
project-name: "zEssentials"
publish: true
project-to-publish: "API:publish"
discord-avatar-url: "https://groupez.dev/storage/images/325.png"
secrets:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}