Add discord TypeMapper for generic snowflake #9
Workflow file for this run
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: Beta test and deployment | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
paths: | |
- "**/src/**" | |
- "**/build.gradle.kts" | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- "**/src/**" | |
- "**/build.gradle.kts" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_PASSWORD: test | |
POSTGRES_USER: test | |
POSTGRES_DB: test | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: "temurin" | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Publish with Gradle | |
run: chmod +x gradlew && ./gradlew test publishAll | |
env: | |
MAVEN_USERNAME: ${{ secrets.MAVEN_NAME }} | |
MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }} | |
BRANCH: ${{ github.head_ref || github.ref_name }} | |
RELEASE: false |