Skip to content

Commit

Permalink
Update GitHub Actions workflows. (#648)
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 1ccdca8fcd563ed4a1c7b82fdcebcf87cf598569.
  • Loading branch information
pulumi-bot committed Apr 26, 2024
1 parent f9009cc commit 9633a95
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 55 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down Expand Up @@ -158,12 +159,6 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }}
aws-region: us-west-2
aws-secret-access-key: ${{ secrets.AWS_CORP_S3_UPLOAD_SECRET_ACCESS_KEY }}
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down Expand Up @@ -219,12 +214,6 @@ jobs:
path: |
.pulumi/examples-cache
key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }}
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Prepare upstream code
Expand Down Expand Up @@ -433,12 +422,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down Expand Up @@ -158,12 +159,6 @@ jobs:
path: |
.pulumi/examples-cache
key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }}
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Prepare upstream code
Expand Down Expand Up @@ -354,12 +349,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down Expand Up @@ -172,12 +173,6 @@ jobs:
path: |
.pulumi/examples-cache
key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }}
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Prepare upstream code
Expand Down Expand Up @@ -402,12 +397,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
Expand Down Expand Up @@ -182,12 +183,6 @@ jobs:
path: |
.pulumi/examples-cache
key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }}
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Prepare upstream code
Expand Down Expand Up @@ -344,12 +339,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ env.PR_COMMIT_SHA }}
- name: Checkout Scripts Repo
uses: actions/checkout@v4
with:
path: ci-scripts
repository: pulumi/scripts
ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592
- name: Checkout p/examples
if: matrix.testTarget == 'pulumiExamples'
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ build_java: bin/pulumi-java-gen upstream
$(WORKING_DIR)/bin/$(JAVA_GEN) generate --schema provider/cmd/$(PROVIDER)/schema.json --out sdk/java --build gradle-nexus
cd sdk/java/ && \
printf "module fake_java_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \
gradle --console=plain build
gradle --console=plain build && \
gradle --console=plain javadoc

build_nodejs: VERSION := $(shell pulumictl get version --language javascript)
build_nodejs: export PULUMI_HOME := $(WORKING_DIR)/.pulumi
Expand Down

0 comments on commit 9633a95

Please sign in to comment.