Merge pull request #211 from 1robie/develop #129
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |