Skip to content

Commit ee4134f

Browse files
authored
Update GitHub Actions workflows. (#1968)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit bce8d0ab44af6c92b43ad6864da0e189d78725bc.
1 parent c39c8a7 commit ee4134f

File tree

5 files changed

+50
-2
lines changed

5 files changed

+50
-2
lines changed

.config/mise.lock

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,69 @@ backend = "asdf:dotnet"
66
version = "0.0.50"
77
backend = "github:pulumi/pulumictl"
88

9+
[tools."github:pulumi/pulumictl".platforms.linux-x64]
10+
checksum = "sha256:a988418240d3a985bdcb9753b7c65ba4b06608deb359dc2942cb8c9374abc164"
11+
name = "pulumictl-v0.0.50-linux-amd64.tar.gz"
12+
size = 27744219
13+
url = "https://github.com/pulumi/pulumictl/releases/download/v0.0.50/pulumictl-v0.0.50-linux-amd64.tar.gz"
14+
url_api = "https://api.github.com/repos/pulumi/pulumictl/releases/assets/278054496"
15+
916
[[tools."github:pulumi/schema-tools"]]
1017
version = "0.6.0"
1118
backend = "github:pulumi/schema-tools"
1219

20+
[tools."github:pulumi/schema-tools".platforms.linux-x64]
21+
checksum = "blake3:82dfe616fee18b4258f6e3d2dc3c4e9f14afd43a0a4cc33eff2d2a04088d6ca3"
22+
name = "schema-tools-v0.6.0-linux-amd64.tar.gz"
23+
size = 14282746
24+
url = "https://github.com/pulumi/schema-tools/releases/download/v0.6.0/schema-tools-v0.6.0-linux-amd64.tar.gz"
25+
url_api = "https://api.github.com/repos/pulumi/schema-tools/releases/assets/118725905"
26+
1327
[[tools.go]]
1428
version = "1.24.2"
1529
backend = "core:go"
1630

31+
[tools.go.platforms.linux-x64]
32+
checksum = "sha256:68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad"
33+
size = 78516109
34+
url = "https://dl.google.com/go/go1.24.2.linux-amd64.tar.gz"
35+
1736
[[tools.golangci-lint]]
1837
version = "1.64.8"
1938
backend = "aqua:golangci/golangci-lint"
2039

40+
[tools.golangci-lint.platforms.linux-x64]
41+
checksum = "sha256:b6270687afb143d019f387c791cd2a6f1cb383be9b3124d241ca11bd3ce2e54e"
42+
size = 12364828
43+
url = "https://github.com/golangci/golangci-lint/releases/download/v1.64.8/golangci-lint-1.64.8-linux-amd64.tar.gz"
44+
2145
[[tools.gradle]]
2246
version = "7.6.6"
2347
backend = "aqua:gradle/gradle"
2448

49+
[tools.gradle.platforms.linux-x64]
50+
checksum = "sha256:673d9776f303bc7048fc3329d232d6ebf1051b07893bd9d11616fad9a8673be0"
51+
size = 128439774
52+
url = "https://github.com/gradle/gradle-distributions/releases/download/v7.6.6/gradle-7.6.6-bin.zip"
53+
2554
[[tools.java]]
2655
version = "corretto-11.0.29.7.1"
2756
backend = "core:java"
2857

58+
[tools.java.platforms.linux-x64]
59+
checksum = "sha256:279c6d3124f8b0251b16297b16687fe8b3946410b05ed27de1259b5e5cea02ba"
60+
size = 195379320
61+
url = "https://corretto.aws/downloads/resources/11.0.29.7.1/amazon-corretto-11.0.29.7.1-linux-x64.tar.gz"
62+
2963
[[tools.node]]
3064
version = "20.19.5"
3165
backend = "core:node"
3266

67+
[tools.node.platforms.linux-x64]
68+
checksum = "sha256:4eba5fbe1fb10753bc06e42f001a91c5cec16798b7764a3e9257adc59af47fe1"
69+
size = 47041607
70+
url = "https://nodejs.org/dist/v20.19.5/node-v20.19.5-linux-x64.tar.gz"
71+
3372
[[tools."npm:yarn"]]
3473
version = "1.22.22"
3574
backend = "npm:yarn"

.github/workflows/master.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
with:
8585
version: ${{ needs.prerequisites.outputs.version }}
8686
isPrerelease: true
87+
setLatestRelease: false
8788
skipGoSdk: true
8889
skipJavaSdk: true
8990

.github/workflows/prerelease.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
with:
6868
version: ${{ needs.prerequisites.outputs.version }}
6969
isPrerelease: true
70+
setLatestRelease: false
7071

7172
test:
7273
uses: ./.github/workflows/test.yml

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
version:
88
required: true
99
type: string
10+
setLatestRelease:
11+
required: true
12+
type: boolean
1013
isPrerelease:
1114
required: true
1215
type: boolean
@@ -120,6 +123,8 @@ jobs:
120123
prerelease: ${{ inputs.isPrerelease }}
121124
# We keep pre-releases as drafts so they're not visible until we manually publish them.
122125
draft: ${{ inputs.isPrerelease }}
126+
# Explicitly set make_latest to account for backported releases
127+
make_latest: ${{ inputs.setLatestRelease }}
123128
body: ${{ steps.schema-summary.outputs.summary }}
124129
generate_release_notes: true
125130
files: dist/*
@@ -220,8 +225,8 @@ jobs:
220225
create_docs_build:
221226
name: create_docs_build
222227
needs: publish_sdk
223-
# Only run for non-prerelease, if the publish_go_sdk job was successful or skipped
224-
if: inputs.isPrerelease == false
228+
# Only run for non-prerelease and for non-backported releases, if the publish_go_sdk job was successful or skipped
229+
if: inputs.isPrerelease == false && inputs.setLatestRelease == true
225230
runs-on: ubuntu-latest
226231
steps:
227232
- name: Checkout Repo

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
with:
8181
version: ${{ needs.prerequisites.outputs.version }}
8282
isPrerelease: false
83+
# Only tags on the default branch should set the release as `latest`; backported releases (tagged on a feature branch) should not.
84+
setLatestRelease: ${{ github.event.base_ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
8385

8486
test:
8587
uses: ./.github/workflows/test.yml

0 commit comments

Comments
 (0)