Split release and verify workflows

This commit is contained in:
2026-04-06 16:43:56 -05:00
parent 096df79aca
commit 7db4423fe2
3 changed files with 44 additions and 8 deletions

View File

@@ -0,0 +1,35 @@
name: Dev Verify
on:
push:
branches:
- dev
pull_request:
branches:
- dev
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
container:
image: gradle:8.11.1-jdk21
env:
GITEA_TOKEN: ${{ github.token }}
GITEA_REPO_URL: ${{ github.server_url }}/${{ github.repository }}.git
steps:
- name: Prepare source
shell: bash
run: |
set -euo pipefail
if [ ! -f build.gradle ]; then
git -c http.extraHeader="Authorization: token ${GITEA_TOKEN}" \
clone --depth 1 "${GITEA_REPO_URL}" .
fi
- name: Verify
shell: bash
run: |
set -euo pipefail
gradle --no-daemon compileClientJava

View File

@@ -1,4 +1,4 @@
name: Build and Release
name: Main Release
on:
push:
@@ -6,7 +6,6 @@ on:
- main
tags:
- "v*"
pull_request:
workflow_dispatch:
permissions: