Update GitHub Actions workflows. (#616)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit d2d946e761bab19abc5e5a598d44cf709dae77e9.
This commit is contained in:
@@ -8,7 +8,7 @@ _.source = "{{config_root}}/scripts/get-versions.sh"
|
|||||||
|
|
||||||
# Runtimes
|
# Runtimes
|
||||||
# TODO: we may not need `get_env` once https://github.com/jdx/mise/discussions/6339 is fixed
|
# TODO: we may not need `get_env` once https://github.com/jdx/mise/discussions/6339 is fixed
|
||||||
go = "{{ get_env(name='MISE_GO_VERSION', default='latest') }}"
|
go = "{{ get_env(name='GO_VERSION_MISE', default='latest') }}"
|
||||||
node = '20'
|
node = '20'
|
||||||
python = '3.11.8'
|
python = '3.11.8'
|
||||||
dotnet = '8.0'
|
dotnet = '8.0'
|
||||||
@@ -16,7 +16,7 @@ dotnet = '8.0'
|
|||||||
java = 'corretto-11'
|
java = 'corretto-11'
|
||||||
|
|
||||||
# Executable tools
|
# Executable tools
|
||||||
pulumi = "{{ get_env(name='MISE_PULUMI_VERSION', default='latest') }}"
|
pulumi = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}"
|
||||||
"github:pulumi/pulumictl" = 'latest'
|
"github:pulumi/pulumictl" = 'latest'
|
||||||
"github:pulumi/schema-tools" = "latest"
|
"github:pulumi/schema-tools" = "latest"
|
||||||
gradle = '7.6'
|
gradle = '7.6'
|
||||||
|
|||||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -127,6 +127,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
@@ -302,6 +303,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
|
|||||||
2
.github/workflows/prerelease.yml
vendored
2
.github/workflows/prerelease.yml
vendored
@@ -116,6 +116,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
@@ -291,6 +292,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -119,6 +119,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
@@ -294,6 +295,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
|
|||||||
2
.github/workflows/run-acceptance-tests.yml
vendored
2
.github/workflows/run-acceptance-tests.yml
vendored
@@ -147,6 +147,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
@@ -326,6 +327,7 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ if [[ -z "${raw_version:-}" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "MISE_PULUMI_VERSION=$raw_version"
|
echo "PULUMI_VERSION_MISE=$raw_version"
|
||||||
export MISE_PULUMI_VERSION=$raw_version
|
export PULUMI_VERSION_MISE=$raw_version
|
||||||
|
|
||||||
# Prefer the toolchain directive if present, otherwise fall back to the `go` version line
|
# Prefer the toolchain directive if present, otherwise fall back to the `go` version line
|
||||||
go_toolchain=$(awk '/^toolchain[[:space:]]+go[0-9]/{ print $2; exit }' "$gomod")
|
go_toolchain=$(awk '/^toolchain[[:space:]]+go[0-9]/{ print $2; exit }' "$gomod")
|
||||||
@@ -51,5 +51,5 @@ if [[ -z "${go_version:-}" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "MISE_GO_VERSION=$go_version"
|
echo "GO_VERSION_MISE=$go_version"
|
||||||
export MISE_GO_VERSION=$go_version
|
export GO_VERSION_MISE=$go_version
|
||||||
|
|||||||
Reference in New Issue
Block a user