Skip to content

Commit fc083f0

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 aed9cd0 commit fc083f0

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ 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: Copy Artifact for integration test
26+
- name: Copy Artifact for integration test
2727
run: ./gradlew :functional-test:copyPluginArtifact
2828
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
29-
- name: Run integration Test
29+
- name: Run integration Test
3030
run: ./gradlew :functional-test:functionalTest
3131
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
32-
- name: Get Release Version
32+
- name: Get Release Version
3333
id: get_version
3434
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
35-
- name: Upload plugin jar
35+
- name: Upload plugin jar
3636
uses: actions/upload-artifact@v4
37-
with:
37+
with:
3838
# Artifact name
3939
name: Grails-Plugin-${{ steps.get_version.outputs.VERSION }}
4040
# 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 1.11
19-
uses: actions/setup-java@v4
20-
with:
21-
java-version: '17'
18+
- name: set up JDK 1.11
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)