generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dennis Hume
committed
Dec 12, 2023
1 parent
3cb2305
commit fe8c02f
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
env: | ||
# THIS GITHUB_TOKEN IS A REQUIREMENT TO BE ABLE TO WRITE TO GH RELEASES | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.21.x | ||
|
||
jobs: | ||
publish_binary: | ||
|
@@ -24,7 +25,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.21.x | ||
go-version: ${{ env.GOVERSION }} | ||
|
||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
|
@@ -11,8 +12,8 @@ env: | |
MZ_USER: mz_system | ||
MZ_SSLMODE: disable | ||
MZ_PORT: 6877 | ||
# THIS GITHUB_TOKEN IS A REQUIREMENT TO BE ABLE TO WRITE TO GH RELEASES | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PYTHONVERSION: 3.9 | ||
GOVERSION: 1.21.x | ||
|
||
jobs: | ||
test: | ||
|
@@ -26,18 +27,13 @@ jobs: | |
|
||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.21.x | ||
go-version: ${{ env.GOVERSION }} | ||
|
||
- uses: jaxxstorm/[email protected] | ||
- uses: actions/setup-python@v2 | ||
with: | ||
repo: pulumi/pulumictl | ||
|
||
- run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV | ||
python-version: ${{ env.PYTHONVERSION }} | ||
|
||
- uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
version: latest | ||
args: -p 3 release --rm-dist | ||
- uses: pulumi/action-install-pulumi-cli@v2 | ||
|
||
- run: make build_python | ||
|
||
|