-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
773 changed files
with
33,323 additions
and
13,744 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 |
---|---|---|
|
@@ -51,7 +51,7 @@ jobs: | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Authenticate to Google Cloud | ||
uses: google-github-actions/auth@5a50e581162a13f4baa8916d01180d2acbc04363 # v2.1.0 | ||
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2 | ||
with: | ||
workload_identity_provider: "projects/235822363393/locations/global/workloadIdentityPools/hedera-builds-pool/providers/hedera-builds-gh-actions" | ||
service_account: "[email protected]" | ||
|
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
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
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 |
---|---|---|
|
@@ -170,19 +170,19 @@ jobs: | |
java-version: ${{ inputs.java-version }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
|
||
- name: Gradle Update Version (As Specified) | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
if: ${{ inputs.version-policy == 'specified' && !cancelled() && !failure() }} | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: versionAsSpecified -PnewVersion=${{ inputs.new-version }} --scan | ||
|
||
- name: Gradle Update Version (Branch Commit) | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
if: ${{ inputs.version-policy != 'specified' && !cancelled() && !failure() }} | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
|
@@ -204,7 +204,7 @@ jobs: | |
echo "prerelease=${PRERELEASE}" >>"${GITHUB_OUTPUT}" | ||
- name: Cache Build Version | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | ||
with: | ||
path: version.txt | ||
key: node-build-version-${{ steps.effective-version.outputs.number }}-${{ github.sha }} | ||
|
@@ -259,7 +259,7 @@ jobs: | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Authenticate to Google Cloud | ||
uses: google-github-actions/auth@5a50e581162a13f4baa8916d01180d2acbc04363 # v2.1.0 | ||
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2 | ||
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }} | ||
with: | ||
workload_identity_provider: "projects/235822363393/locations/global/workloadIdentityPools/hedera-builds-pool/providers/hedera-builds-gh-actions" | ||
|
@@ -276,32 +276,32 @@ jobs: | |
java-version: ${{ inputs.java-version }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
|
||
- name: Restore Build Version | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | ||
with: | ||
fail-on-cache-miss: true | ||
path: version.txt | ||
key: node-build-version-${{ needs.validate.outputs.version }}-${{ github.sha }} | ||
|
||
- name: Cache Build Artifacts | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | ||
with: | ||
path: ~/artifact-build | ||
key: node-build-artifacts-${{ needs.validate.outputs.version }}-${{ github.sha }} | ||
|
||
- name: Gradle Assemble | ||
id: gradle-build | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: assemble --scan | ||
|
||
- name: Gradle Version Summary | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: githubVersionSummary --scan | ||
|
@@ -334,7 +334,7 @@ jobs: | |
mkdir -p "${ARTIFACT_BASE_DIR}" | ||
if [[ "${POLICY}" == "branch-commit" ]]; then | ||
ARTIFACT_NAME="build-${{ needs.validate.outputs.branch-name-lower }}-${{ needs.validate.outputs.commit-id-short }}" | ||
ARTIFACT_NAME="build-${{ needs.validate.outputs.branch-name-safe }}-${{ needs.validate.outputs.commit-id-short }}" | ||
else | ||
ARTIFACT_NAME="build-v${{ needs.validate.outputs.version }}" | ||
fi | ||
|
@@ -414,7 +414,7 @@ jobs: | |
|
||
- name: Authenticate to Google Cloud | ||
id: google-auth | ||
uses: google-github-actions/auth@5a50e581162a13f4baa8916d01180d2acbc04363 # v2.1.0 | ||
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2 | ||
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }} | ||
with: | ||
token_format: 'access_token' | ||
|
@@ -458,7 +458,7 @@ jobs: | |
password: ${{ steps.google-auth.outputs.access_token }} | ||
|
||
- name: Restore Build Artifacts | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | ||
with: | ||
fail-on-cache-miss: true | ||
path: ~/artifact-build | ||
|
@@ -554,7 +554,7 @@ jobs: | |
- name: Import GPG key | ||
id: gpg_key | ||
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0 | ||
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 | ||
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }} | ||
with: | ||
gpg_private_key: ${{ secrets.svcs-gpg-key-contents }} | ||
|
@@ -571,39 +571,39 @@ jobs: | |
java-version: ${{ inputs.java-version }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
|
||
- name: Restore Build Version | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | ||
with: | ||
fail-on-cache-miss: true | ||
path: version.txt | ||
key: node-build-version-${{ needs.validate.outputs.version }}-${{ github.sha }} | ||
|
||
- name: Gradle Update Version (Snapshot) | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
if: ${{ inputs.version-policy != 'specified' && !cancelled() && !failure() }} | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: versionAsSnapshot --scan | ||
|
||
- name: Gradle Assemble | ||
id: gradle-build | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: assemble --scan | ||
|
||
- name: Gradle Version Summary | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: githubVersionSummary --scan | ||
|
||
- name: Gradle Maven Central Release | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
if: ${{ inputs.dry-run-enabled != true && inputs.version-policy == 'specified' && !cancelled() && !failure() }} | ||
env: | ||
OSSRH_USERNAME: ${{ secrets.svcs-ossrh-username }} | ||
|
@@ -613,7 +613,7 @@ jobs: | |
arguments: "releaseEvmMavenCentral --scan -PpublishSigningEnabled=true --no-configuration-cache --no-parallel" | ||
|
||
- name: Gradle Maven Central Snapshot | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
if: ${{ inputs.dry-run-enabled != true && inputs.version-policy != 'specified' && !cancelled() && !failure() }} | ||
env: | ||
OSSRH_USERNAME: ${{ secrets.svcs-ossrh-username }} | ||
|
@@ -646,7 +646,7 @@ jobs: | |
- name: Import GPG key | ||
id: gpg_key | ||
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0 | ||
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 | ||
with: | ||
gpg_private_key: ${{ secrets.sdk-gpg-key-contents }} | ||
passphrase: ${{ secrets.sdk-gpg-key-passphrase }} | ||
|
@@ -657,7 +657,7 @@ jobs: | |
|
||
- name: Authenticate to Google Cloud | ||
id: google-auth | ||
uses: google-github-actions/auth@5a50e581162a13f4baa8916d01180d2acbc04363 # v2.1.0 | ||
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2 | ||
with: | ||
workload_identity_provider: "projects/229164983194/locations/global/workloadIdentityPools/registry-identity-pool/providers/gh-provider" | ||
service_account: "[email protected]" | ||
|
@@ -673,25 +673,25 @@ jobs: | |
java-version: ${{ inputs.java-version }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
|
||
- name: Restore Build Version | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | ||
with: | ||
fail-on-cache-miss: true | ||
path: version.txt | ||
key: node-build-version-${{ needs.validate.outputs.version }}-${{ github.sha }} | ||
|
||
- name: Gradle Assemble | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: assemble --scan | ||
|
||
- name: Gradle Version Summary | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
with: | ||
gradle-version: ${{ inputs.gradle-version }} | ||
arguments: githubVersionSummary --scan | ||
|
@@ -769,7 +769,7 @@ jobs: | |
echo "::endgroup::" | ||
- name: Gradle Publish to ${{ inputs.version-policy == 'specified' && 'Maven Central' || 'Google Artifact Registry' }} (${{ inputs.sdk-release-profile }}) | ||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 | ||
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0 | ||
if: ${{ inputs.dry-run-enabled != true && inputs.sdk-release-profile != 'none' && !cancelled() && !failure() }} | ||
env: | ||
OSSRH_USERNAME: ${{ secrets.sdk-ossrh-username }} | ||
|
@@ -814,7 +814,7 @@ jobs: | |
echo "artifact-registry=${ARTIFACT_REGISTRY}" >>"${GITHUB_OUTPUT}" | ||
- name: Send Slack Notification (Maven Central) | ||
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0 | ||
uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 | ||
env: | ||
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | ||
SLACK_WEBHOOK_URL: ${{ secrets.slack-webhook-url }} | ||
|
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
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.