Skip to content

Commit

Permalink
Update GitHub Actions workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Feb 24, 2022
1 parent b4153b1 commit aee561f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Expand Up @@ -425,10 +425,6 @@ jobs:
author_name: Failure in publishing SDK
fields: repo,commit,author,action
status: ${{ job.status }}
- if: success() && github.event_name == 'push'
name: Add SDK version tag
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
}}
strategy:
fail-fast: true
matrix:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/master.yml
Expand Up @@ -425,10 +425,6 @@ jobs:
author_name: Failure in publishing SDK
fields: repo,commit,author,action
status: ${{ job.status }}
- if: success() && github.event_name == 'push'
name: Add SDK version tag
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
}}
strategy:
fail-fast: true
matrix:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/prerelease.yml
Expand Up @@ -371,10 +371,6 @@ jobs:
author_name: Failure in publishing SDK
fields: repo,commit,author,action
status: ${{ job.status }}
- if: success() && github.event_name == 'push'
name: Add SDK version tag
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
}}
strategy:
fail-fast: true
matrix:
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -100,7 +100,7 @@ jobs:
- "3.7"
create_docs_build:
name: create_docs_build
needs: publish_sdk
needs: tag_sdk
runs-on: ubuntu-latest
steps:
- name: Install pulumictl
Expand Down Expand Up @@ -383,10 +383,6 @@ jobs:
author_name: Failure in publishing SDK
fields: repo,commit,author,action
status: ${{ job.status }}
- if: success() && github.event_name == 'push'
name: Add SDK version tag
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
}}
strategy:
fail-fast: true
matrix:
Expand All @@ -398,6 +394,20 @@ jobs:
- 14.x
pythonversion:
- "3.7"
tag_sdk:
name: tag_sdk
needs: publish_sdk
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@v1.2.0
with:
repo: pulumi/pulumictl
- name: Add SDK version tag
run: git tag sdk/$(pulumictl get version --language generic) && git push origin
sdk/$(pulumictl get version --language generic)
test:
name: test
needs: build_sdk
Expand Down

0 comments on commit aee561f

Please sign in to comment.