generated from pulumi/pulumi-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
7359eec
commit 818b19a
Showing
3 changed files
with
11 additions
and
57 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,8 +1,9 @@ | ||
name: Release | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
push: | ||
tags: | ||
- v*.*.* | ||
- '!v*.*.*-**' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
@@ -44,17 +45,15 @@ jobs: | |
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
# - name: Run GoReleaser | ||
# uses: goreleaser/goreleaser-action@v5 | ||
# with: | ||
# args: -p 3 release --clean | ||
# version: latest | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
args: -p 3 release --clean | ||
version: latest | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Generate SDK | ||
run: make build | ||
- name: Create new tag | ||
id: create_tag | ||
uses: mathieudutour/[email protected] | ||
|
@@ -63,6 +62,8 @@ jobs: | |
custom_tag: sdk/${{ github.event.release.tag_name }} | ||
tag_prefix: "" | ||
release_branches: main | ||
- name: Generate SDK | ||
run: make build | ||
- name: Compress SDK folder | ||
run: | | ||
for language in nodejs python dotnet go; do | ||
|