Skip to content

Commit 1c6ac99

Browse files
authored
[internal] Update GitHub Actions workflow files (#105)
1 parent 4fad226 commit 1c6ac99

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/workflows/build_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
with:
6666
allowed-changes: |
6767
sdk/**/pulumi-plugin.json
68-
sdk/dotnet/Pulumi.*.csproj
68+
sdk/dotnet/*.csproj
6969
sdk/go/**/pulumiUtilities.go
7070
sdk/nodejs/package.json
7171
sdk/python/pyproject.toml

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
runs-on: ubuntu-latest
109109
steps:
110110
- name: check if this commit needs release
111+
if: ${{ env.RELEASE_BOT_ENDPOINT != '' }}
111112
uses: pulumi/action-release-by-pr-label@main
112113
with:
113114
command: "release-if-needed"

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
{
8383
echo 'summary<<EOF'
8484
if [[ "$LAST_VERSION" != "No stable release" ]]; then
85-
schema-tools compare --provider="scm" --old-commit="$LAST_VERSION" --new-commit="--local-path=provider/cmd/pulumi-resource-scm/schema.json"
85+
schema-tools compare --provider="scm" --old-commit="$LAST_VERSION" --repository="github://api.github.com/pulumi" --new-commit="--local-path=provider/cmd/pulumi-resource-scm/schema.json"
8686
fi
8787
echo 'EOF'
8888
} >> "$GITHUB_OUTPUT"

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,6 @@ provider_dist-darwin-arm64: bin/$(PROVIDER)-v$(VERSION_GENERIC)-darwin-arm64.tar
244244
provider_dist-windows-amd64: bin/$(PROVIDER)-v$(VERSION_GENERIC)-windows-amd64.tar.gz
245245
provider_dist: provider_dist-linux-amd64 provider_dist-linux-arm64 provider_dist-darwin-amd64 provider_dist-darwin-arm64 provider_dist-windows-amd64
246246
.PHONY: provider_dist-linux-amd64 provider_dist-linux-arm64 provider_dist-darwin-amd64 provider_dist-darwin-arm64 provider_dist-windows-amd64 provider_dist
247+
248+
# Permit providers to extend the Makefile with provider-specific Make includes.
249+
include $(wildcard .mk/*.mk)

0 commit comments

Comments
 (0)