Skip to content

Commit fc293e0

Browse files
Merge pull request #144 from pulumi/update-github-actions-workflows-7
Update GitHub Actions workflows.
2 parents 651fd90 + 20277b0 commit fc293e0

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ jobs:
424424
author_name: Failure in publishing SDK
425425
fields: repo,commit,author,action
426426
status: ${{ job.status }}
427+
- if: success() && github.event_name == 'push'
428+
name: Add SDK version tag
429+
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
430+
}}
427431
strategy:
428432
fail-fast: true
429433
matrix:

.github/workflows/master.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ jobs:
424424
author_name: Failure in publishing SDK
425425
fields: repo,commit,author,action
426426
status: ${{ job.status }}
427+
- if: success() && github.event_name == 'push'
428+
name: Add SDK version tag
429+
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
430+
}}
427431
strategy:
428432
fail-fast: true
429433
matrix:

.github/workflows/prerelease.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ jobs:
370370
author_name: Failure in publishing SDK
371371
fields: repo,commit,author,action
372372
status: ${{ job.status }}
373+
- if: success() && github.event_name == 'push'
374+
name: Add SDK version tag
375+
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
376+
}}
373377
strategy:
374378
fail-fast: true
375379
matrix:

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@ jobs:
382382
author_name: Failure in publishing SDK
383383
fields: repo,commit,author,action
384384
status: ${{ job.status }}
385+
- if: success() && github.event_name == 'push'
386+
name: Add SDK version tag
387+
run: git tag sdk/${{ github.ref_name }} && git push origin sdk/${{ github.ref_name
388+
}}
385389
strategy:
386390
fail-fast: true
387391
matrix:

0 commit comments

Comments
 (0)