@@ -270,3 +270,29 @@ jobs:
270
270
slack-message : ' Snapshot publishing failed for ${{ github.base_ref }} branch failed on build ${{ github.event.after }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
271
271
env :
272
272
SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
273
+
274
+ upload_package_artifacts :
275
+ if : ${{ github.event_name != 'push'}}
276
+ runs-on : ubuntu-latest-4core
277
+ steps :
278
+ - name : Initialize environment
279
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
280
+ with :
281
+ cache-node-modules : true
282
+ - name : Setup Bazel
283
+ uses : angular/dev-infra/github-actions/bazel/setup@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
284
+ - name : Setup Bazel RBE
285
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@9931e1a8d1b62fcd2267e89f9993a494856cc1cd
286
+ - name : Install node modules
287
+ run : yarn install --frozen-lockfile
288
+ - name : Build and Verify Release Output
289
+ run : yarn build-and-check-release-output
290
+ - name : Verify tooling setup
291
+ run : yarn check-tooling-setup
292
+ - name : Build and create package artifacts
293
+ run : ./scripts/create-package-archives.js --suffix "pr${{github.event.number}}-$(git rev-parse --short HEAD)"
294
+ - name : Upload artifacts
295
+ uses : actions/upload-artifact@v3
296
+ with :
297
+ name : Package Artifacts
298
+ path : dist/release-archives
0 commit comments