Skip to content

Commit

Permalink
Update GitHub Actions workflows. (#4353)
Browse files Browse the repository at this point in the history
This PR was automatically generated by the
update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt
repo, from commit fa568f541bd7889bec4c631075aa9f9556cce70b.
  • Loading branch information
pulumi-bot authored Aug 8, 2024
1 parent 7461d68 commit 7332d83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ jobs:
shell: bash
run: |
# Get latest stable release. Return only first column from result (tag).
LAST_VERSION=$(gh release view --repo pulumi/pulumi-aws --json tagName -q .tagName)
LAST_VERSION=$(gh release view --repo pulumi/pulumi-aws --json tagName -q .tagName || echo "No stable release" )
{
echo 'summary<<EOF'
schema-tools compare --provider="aws" --old-commit="$LAST_VERSION" --new-commit="--local-path=provider/cmd/pulumi-resource-aws/schema.json"
if [[ "$LAST_VERSION" != "No stable release" ]]; then
schema-tools compare --provider="aws" --old-commit="$LAST_VERSION" --new-commit="--local-path=provider/cmd/pulumi-resource-aws/schema.json"
fi
echo 'EOF'
} >> "$GITHUB_OUTPUT"
- name: Upload Provider Binaries
Expand Down
2 changes: 2 additions & 0 deletions upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ init() {
fi

git submodule update --force --init
cd upstream && git clean -fxd && cd ..

if [[ "${force}" == "true" ]]; then
clean_rebases
clean_branches
Expand Down

0 comments on commit 7332d83

Please sign in to comment.