Skip to content

Merge pull request #2 from the-h-team/dev/1.0.0 #5

Merge pull request #2 from the-h-team/dev/1.0.0

Merge pull request #2 from the-h-team/dev/1.0.0 #5

Workflow file for this run

# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Test Build and Deploy
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
packages: write
jobs:
test-build:
name: "Test build"
uses: the-h-team/workflows/.github/workflows/[email protected]
with:
gradle_args: "build"
cd:
name: "Deploy to GitHub Packages"
needs: test-build
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: the-h-team/workflows/.github/workflows/[email protected]
with:
gradle_args: "publish"
cache_save: false