Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Aug 7, 2023
1 parent c63475d commit 80c97d9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/artifact-cleanup.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
with:
name: ${{ matrix.language }}-sdk.tar.gz
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -240,6 +241,7 @@ jobs:
with:
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
with:
name: ${{ matrix.language }}-sdk.tar.gz
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -240,6 +241,7 @@ jobs:
with:
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
with:
name: ${{ matrix.language }}-sdk.tar.gz
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -189,6 +190,7 @@ jobs:
with:
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
with:
name: ${{ matrix.language }}-sdk.tar.gz
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -213,6 +214,7 @@ jobs:
with:
name: ${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
retention-days: 30
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ builds:
- darwin
- windows
- linux
hooks:
post:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -cache
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache
hooks:
post:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -cache
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ builds:
- darwin
- windows
- linux
hooks:
post:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -cache
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -modcache
hooks:
post:
- env GOOS={{ .Os }} GOARCH={{ .Arch }} go clean -cache
Expand Down

0 comments on commit 80c97d9

Please sign in to comment.