Skip to content

Update address-formatting digest to f4dc8e4 #1177

Update address-formatting digest to f4dc8e4

Update address-formatting digest to f4dc8e4 #1177

Workflow file for this run

name: Test and Build
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- name: Checkout repo
if: github.event_name == 'pull_request'
uses: actions/[email protected]
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.GLS_OCTOCAT_TOKEN }}
submodules: true
- name: Checkout repo
if: github.event_name != 'pull_request'
uses: actions/[email protected]
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 11
- name: Update formats
if: github.event_name == 'pull_request'
run: ./gradlew :YamlConverter:run
- name: Add address format changes
id: update_format
if: github.event_name == 'pull_request'
uses: EndBug/[email protected]
with:
author_name: 'gls-octocat'
author_email: '[email protected]'
message: 'Update address formats'
- name: Fail on updated
if: steps.update_format.outputs.committed == 'true'
run: exit 1
- name: Test and Build
run: ./gradlew build
- name: Test Publication
run: ./gradlew publishMavenPublicationToMavenLocal