Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Dec 3, 2024
1 parent b7a45bb commit 2b47243
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
pattern: schema-embed.*
# Avoid creating directories for each artifact
merge-multiple: true
path: provider/cmd/pulumi-resource-http/schema-embed.json
path: provider/cmd/pulumi-resource-http
- name: Restore makefile progress
run: make --touch provider schema
- name: Build & package provider
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
version: ${{ needs.prerequisites.outputs.version }}
isPrerelease: true
skipGoSdk: true
skipJavaSdk: true

tag_release_if_labeled_needs_release:
name: Tag release if labeled as needs-release
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
default: false
type: boolean
description: Skip publishing & verifying the Go SDK
skipJavaSdk:
default: false
type: boolean
description: Skip publishing the Java SDK

env:
IS_PRERELEASE: ${{ inputs.isPrerelease }}
Expand Down Expand Up @@ -120,10 +124,17 @@ jobs:
with:
tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java
- name: Publish SDKs
if: inputs.skipJavaSdk == false
uses: pulumi/pulumi-package-publisher@1c0359ba74243cf6651efacfd839c751d8ff87e2 # v0.0.20
with:
sdk: all
version: ${{ inputs.version }}
- name: Publish SDKs (except Java)
if: inputs.skipJavaSdk == true
uses: pulumi/pulumi-package-publisher@1c0359ba74243cf6651efacfd839c751d8ff87e2 # v0.0.20
with:
sdk: all,!java
version: ${{ inputs.version }}
- name: Download Go SDK
uses: ./.github/actions/download-sdk
with:
Expand Down
90 changes: 0 additions & 90 deletions .github/workflows/resync-build.yml

This file was deleted.

0 comments on commit 2b47243

Please sign in to comment.