v1.18: Disable cache warmer if RPC is not using it (backport of #1063… #7046
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
name: release-artifacts-auto | |
on: | |
push: | |
branches: | |
- master | |
- v[0-9]+.[0-9]+ | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+ | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
release-artifacts: | |
if: github.repository == 'solana-labs/solana' | |
uses: ./.github/workflows/release-artifacts.yml | |
with: | |
commit: ${{ github.sha }} | |
secrets: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} | |
error_reporting: | |
needs: | |
- release-artifacts | |
if: failure() && github.event_name == 'push' | |
uses: ./.github/workflows/error-reporting.yml | |
secrets: | |
WEBHOOK: ${{ secrets.SLACK_ERROR_REPORTING_WEBHOOK }} |