Skip to content

Commit 962329e

Browse files
authored
Merge pull request #13 from cloudnc/fix/readme
fix(CI): Ensure readme is copied correctly
2 parents 4a9aa8a + d496661 commit 962329e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ jobs:
3333
run: yarn lib:test:ci
3434
- name: Coverage
3535
run: yarn codecov
36-
- name: Copy built README into dist
37-
run: rm dist/ngx-observable-lifecycle/README.md && cp README.md dist/ngx-observable-lifecycle
38-
- name: Copy LICENSE into dist
39-
run: cp LICENSE dist/ngx-observable-lifecycle
4036
- name: Rebuild for release
4137
if: contains('refs/heads/master refs/heads/next', github.ref)
42-
run: yarn lib:build:prod
38+
run: |
39+
yarn lib:build:prod
40+
rm dist/ngx-observable-lifecycle/README.md && cp README.md dist/ngx-observable-lifecycle
41+
cp LICENSE dist/ngx-observable-lifecycle
4342
- name: Release
4443
if: contains('refs/heads/master refs/heads/next', github.ref)
4544
env:

0 commit comments

Comments
 (0)