File tree Expand file tree Collapse file tree 2 files changed +10
-25
lines changed Expand file tree Collapse file tree 2 files changed +10
-25
lines changed Original file line number Diff line number Diff line change @@ -265,24 +265,6 @@ jobs:
265
265
command : yarn admin snapshots --verbose
266
266
- fail_fast
267
267
268
- publish_artifacts :
269
- executor : action-executor
270
- resource_class : medium
271
- environment :
272
- steps :
273
- - custom_attach_workspace
274
- - run :
275
- name : Create artifacts for packages
276
- command : yarn ng-dev release build
277
- - run :
278
- name : Copy tarballs to folder
279
- command : |
280
- mkdir -p dist/artifacts/
281
- cp dist/releases/*.tgz dist/artifacts/
282
- - store_artifacts :
283
- path : dist/artifacts/
284
- destination : angular
285
-
286
268
# Windows jobs
287
269
e2e-cli-win :
288
270
executor : windows-executor
@@ -399,8 +381,3 @@ workflows:
399
381
requires :
400
382
- setup
401
383
- e2e-cli
402
-
403
- - publish_artifacts :
404
- << : *only_pull_requests
405
- requires :
406
- - build
Original file line number Diff line number Diff line change 51
51
# it has been merged.
52
52
if : github.event_name == 'pull_request'
53
53
run : yarn ng-dev format changed --check ${{ github.event.pull_request.base.sha }}
54
+
54
55
build :
55
56
runs-on : ubuntu-latest
56
57
steps :
62
63
uses : angular/dev-infra/github-actions/bazel/configure-remote@0109d498b0f6aae418ed4924a5e5c65695f0ac61
63
64
- name : Install node modules
64
65
run : yarn install --frozen-lockfile
65
- - name : Build all buildable targets
66
- run : yarn bazel build //...
66
+ - name : Build release targets
67
+ run : yarn ng-dev release build
68
+ - name : Store PR release packages
69
+ if : github.event_name == 'pull_request'
70
+ uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
71
+ with :
72
+ name : packages
73
+ path : dist/releases/*.tgz
74
+ retention-days : 14
67
75
68
76
test :
69
77
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments