Skip to content

Commit 14df4d8

Browse files
committed
Standardize workflow YAML to 6-space indentation style
Normalized all workflows to consistent 6-space style (GitHub Actions standard): - Step uses/with at 6 spaces - Properties (java-version, distribution, etc) at 8 spaces This ensures YAML validity and enables reliable bulk operations.
1 parent 5b7f8bf commit 14df4d8

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
with:
12+
with:
1313
fetch-depth: 0
14-
- name: Get Fetch Tags
14+
- name: Get Fetch Tags
1515
run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin
1616
if: "!contains(github.ref, 'refs/tags')"
17-
- name: Set up JDK 17
18-
uses: actions/setup-java@v4
19-
with:
20-
java-version: '17'
17+
- name: Set up JDK 17
18+
uses: actions/setup-java@v4
19+
with:
20+
java-version: '17'
2121
distribution: 'zulu'
22-
- name: Grant execute permission for gradlew
22+
- name: Grant execute permission for gradlew
2323
run: chmod +x gradlew
24-
- name: Build with Gradle
24+
- name: Build with Gradle
2525
run: ./gradlew build
26-
- name: Get Release Version
26+
- name: Get Release Version
2727
id: get_version
2828
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
29-
- name: Upload plugin jar
29+
- name: Upload plugin jar
3030
uses: actions/upload-artifact@v4
31-
with:
31+
with:
3232
# Artifact name
3333
name: Grails-Plugin-${{ steps.get_version.outputs.VERSION }}
3434
# Directory containing files to upload

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
name: Upload Release Asset
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Checkout code
14+
- name: Checkout code
1515
uses: actions/checkout@v4
16-
with:
16+
with:
1717
fetch-depth: 0
18-
- name: Set up JDK 17
19-
uses: actions/setup-java@v4
20-
with:
21-
java-version: '17'
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '17'
2222
distribution: 'zulu'
23-
- name: Build with Gradle
23+
- name: Build with Gradle
2424
run: ./gradlew build
25-
- name: Get Release Version
25+
- name: Get Release Version
2626
id: get_version
2727
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
28-
- name: Create Release and Upload Asset
28+
- name: Create Release and Upload Asset
2929
id: create_release
3030
run: |
3131
gh release create \

0 commit comments

Comments
 (0)