Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Aug 6, 2024
1 parent 3182392 commit dda9956
Showing 1 changed file with 4 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 @@ -78,10 +78,12 @@ jobs:
shell: bash
run: |
# Get latest stable release. Return only first column from result (tag).
LAST_VERSION=$(gh release view --repo pulumi/pulumi-meraki --json tagName -q .tagName)
LAST_VERSION=$(gh release view --repo pulumi/pulumi-meraki --json tagName -q .tagName || echo "No stable release" )
{
echo 'summary<<EOF'
schema-tools compare --provider="meraki" --old-commit="$LAST_VERSION" --new-commit="--local-path=provider/cmd/pulumi-resource-meraki/schema.json"
if [[ "$LAST_VERSION" != "No stable release" ]]; then
schema-tools compare --provider="meraki" --old-commit="$LAST_VERSION" --new-commit="--local-path=provider/cmd/pulumi-resource-meraki/schema.json"
fi
echo 'EOF'
} >> "$GITHUB_OUTPUT"
- name: Upload Provider Binaries
Expand Down

0 comments on commit dda9956

Please sign in to comment.