mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Automate checking for artifacts on Maven (#50275)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50275 This change adds a check to automate a step in the release process: https://github.com/reactwg/react-native-releases/blob/main/docs/guide-release-process.md#verify-assets-have-been-uploaded-to-maven The script will poll maven for 90 minutes and return when the artifacts are available. If, after 90 minutes, artifacts are not available, it exits with code 1 that should fail the Release workflow. The Release Crew should have a look at what's happened. ## Changelog: [Internal] - Automate the check for artifacts being on Maven Reviewed By: fabriziocucci Differential Revision: D71825014 fbshipit-source-id: 8879bf9c8fc4519e86b55ad8f9bd3ecf3f8ecfb7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
515976cb4a
commit
4b82896390
@@ -230,3 +230,10 @@ jobs:
|
||||
const {isLatest} = require('./.github/workflow-scripts/publishTemplate.js');
|
||||
const version = "${{ github.ref_name }}";
|
||||
await verifyReleaseOnNpm(version, isLatest());
|
||||
- name: Verify that artifacts are on Maven
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
const {verifyArtifactsAreOnMaven} = require('./.github/workflow-scripts/verifyArtifactsAreOnMaven.js');
|
||||
const version = "${{ github.ref_name }}";
|
||||
await verifyArtifactsAreOnMaven(version);
|
||||
|
||||
Reference in New Issue
Block a user