This repository was archived by the owner on Dec 8, 2024. It is now read-only.
ci: workflow to ping Discord users when integrations are released #1
This file contains 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 pull request | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
release: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Cache Gradle | |
uses: burrunan/gradle-cache-action@v1 | |
- name: Setup Java | |
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV | |
- name: Build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./gradlew build --no-daemon |