-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #802 from Stirling-Tools/normalize_files
refactor: normalize all files (strip trailing whitespace + convert CRLF to LF)
- Loading branch information
Showing
143 changed files
with
17,468 additions
and
17,470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Formatting | ||
5f771b785130154ed47952635b7acef371ffe0ec | ||
5f771b785130154ed47952635b7acef371ffe0ec | ||
|
||
# Normalize files | ||
55d4fda01b2f39f5b7d7b4fda5214bd7ff0fd5dd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Push Docker Image with VersionNumber | |
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
branches: | ||
- master | ||
- main | ||
permissions: | ||
|
@@ -15,13 +15,13 @@ jobs: | |
steps: | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
|
||
- uses: gradle/[email protected] | ||
env: | ||
|
@@ -32,11 +32,11 @@ jobs: | |
|
||
- name: Make Gradle wrapper executable | ||
run: chmod +x gradlew | ||
|
||
- name: Get version number | ||
id: versionNumber | ||
run: echo "::set-output name=versionNumber::$(./gradlew printVersion --quiet | tail -1)" | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -53,7 +53,7 @@ jobs: | |
- name: Convert repository owner to lowercase | ||
id: repoowner | ||
run: echo "::set-output name=lowercase::$(echo ${{ github.repository_owner }} | awk '{print tolower($0)}')" | ||
|
||
- name: Generate tags | ||
id: meta | ||
uses: docker/[email protected] | ||
|
@@ -82,7 +82,7 @@ jobs: | |
cache-to: type=gha,mode=max | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | ||
build-args: | ||
VERSION_TAG=${{ steps.versionNumber.outputs.versionNumber }} | ||
platforms: linux/amd64,linux/arm64/v8 | ||
|
||
|
@@ -99,7 +99,7 @@ jobs: | |
tags: | | ||
type=raw,value=${{ steps.versionNumber.outputs.versionNumber }}-ultra-lite,enable=${{ github.ref == 'refs/heads/master' }} | ||
type=raw,value=latest-ultra-lite,enable=${{ github.ref == 'refs/heads/master' }} | ||
- name: Build and push Dockerfile-ultra-lite | ||
uses: docker/[email protected] | ||
|
@@ -112,7 +112,7 @@ jobs: | |
cache-to: type=gha,mode=max | ||
tags: ${{ steps.meta2.outputs.tags }} | ||
labels: ${{ steps.meta2.outputs.labels }} | ||
build-args: | ||
build-args: | ||
VERSION_TAG=${{ steps.versionNumber.outputs.versionNumber }} | ||
platforms: linux/amd64,linux/arm64/v8 | ||
|
||
|
@@ -129,7 +129,7 @@ jobs: | |
tags: | | ||
type=raw,value=${{ steps.versionNumber.outputs.versionNumber }}-lite,enable=${{ github.ref == 'refs/heads/master' }} | ||
type=raw,value=latest-lite,enable=${{ github.ref == 'refs/heads/master' }} | ||
- name: Build and push Dockerfile-lite | ||
uses: docker/[email protected] | ||
|
@@ -142,7 +142,7 @@ jobs: | |
cache-to: type=gha,mode=max | ||
tags: ${{ steps.meta3.outputs.tags }} | ||
labels: ${{ steps.meta3.outputs.labels }} | ||
build-args: | ||
build-args: | ||
VERSION_TAG=${{ steps.versionNumber.outputs.versionNumber }} | ||
platforms: linux/amd64,linux/arm64/v8 | ||
- name: Build and Push Helm Chart | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Release Artifacts | ||
|
||
on: | ||
release: | ||
on: | ||
release: | ||
types: [created] | ||
permissions: | ||
contents: write | ||
|
@@ -19,13 +19,13 @@ jobs: | |
file_suffix: '' | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
|
@@ -42,11 +42,11 @@ jobs: | |
asset_name: Stirling-PDF${{ matrix.file_suffix }}.exe | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
|
||
- name: Get version number | ||
id: versionNumber | ||
run: echo "::set-output name=versionNumber::$(./gradlew printVersion --quiet | tail -1)" | ||
|
||
- name: Upload jar binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Update Swagger | |
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
branches: | ||
- master | ||
jobs: | ||
push: | ||
|
@@ -12,13 +12,13 @@ jobs: | |
steps: | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.