Skip to content

Commit 38ee4ad

Browse files
authored
Update GitHub Actions workflows. (#5810)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 2ce6f269d9892f74ed14f645f41e402e7ff8d416.
1 parent e533a79 commit 38ee4ad

23 files changed

+64
-32
lines changed

.github/actions/download-prerequisites/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: "composite"
66
steps:
77
- name: Download the prerequisites bin
8-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
99
with:
1010
name: prerequisites-bin
1111
path: bin
@@ -19,7 +19,7 @@ runs:
1919
run: rm bin/executables.txt
2020

2121
- name: Download schema-embed.json
22-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
22+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
2323
with:
2424
# Use a pattern to avoid failing if the artifact doesn't exist
2525
pattern: schema-embed.*

.github/actions/download-provider/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77

88
- name: Download pulumi-resource-aws
9-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
1010
with:
1111
pattern: pulumi-resource-aws-*-linux-amd64.tar.gz
1212
path: ${{ github.workspace }}/bin

.github/actions/download-sdk/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: Download ${{ inputs.language }} SDK
13-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
13+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
1414
with:
1515
name: ${{ inputs.language }}-sdk.tar.gz
1616
path: ${{ github.workspace}}/sdk/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Load secrets"
2+
description: |
3+
This is a temporary action which assists with our migration to ESC. Instead
4+
of surrounding every step that references secrets with an "if ESC" block, we
5+
instead modify those steps to consume their secrets from this step's outputs.
6+
Then, later, we can replace this action with esc-action to actually load
7+
secrets from ESC.
8+
inputs: {}
9+
outputs: {}
10+
runs:
11+
using: "node20"
12+
main: "index.js"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const fs = require("fs");
2+
3+
const file = process.env["GITHUB_OUTPUT"];
4+
var stream = fs.createWriteStream(file, { flags: "a" });
5+
6+
for (const [name, value] of Object.entries(process.env)) {
7+
try {
8+
stream.write(`${name}=${value}\n`);
9+
} catch (err) {
10+
console.log(`error: failed to set output for ${name}: ${err.message}`);
11+
}
12+
}
13+
14+
stream.end();

.github/actions/setup-tools/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ runs:
7878

7979
- name: Setup Java
8080
if: inputs.tools == 'all' || contains(inputs.tools, 'java')
81-
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
81+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
8282
with:
8383
cache: gradle
8484
distribution: temurin

.github/workflows/build_provider.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ on:
1919
{"os": "linux", "arch": "arm64"},
2020
{"os": "darwin", "arch": "amd64"},
2121
{"os": "darwin", "arch": "arm64"},
22-
{"os": "windows", "arch": "amd64"}
22+
{"os": "windows", "arch": "amd64"},
23+
{"os": "windows", "arch": "arm64"}
2324
]
2425
}
2526
@@ -43,7 +44,7 @@ jobs:
4344
dotnet: false
4445
large-packages: false
4546
- name: Checkout Repo
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4748
with:
4849
submodules: true
4950
persist-credentials: false

.github/workflows/build_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
swap-storage: false
4444
dotnet: false
4545
- name: Checkout Repo
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4747
with:
4848
submodules: true
4949
persist-credentials: false

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Repo
17-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818
with:
1919
submodules: true
2020
persist-credentials: false

.github/workflows/community-moderation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Repo
11-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1212
with:
1313
submodules: true
1414
persist-credentials: false

0 commit comments

Comments
 (0)