mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
[CI] remove remote files on prefixed publish to avoid loading dead files
This commit is contained in:
parent
ae8ead946b
commit
60a03c6161
6
.github/workflows/build_scoped_rector.yaml
vendored
6
.github/workflows/build_scoped_rector.yaml
vendored
|
@ -65,8 +65,10 @@ jobs:
|
|||
path: remote-repository
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
-
|
||||
run: cp -a rector-prefixed-downgraded/. remote-repository
|
||||
# remove remote files, to avoid piling up dead code in remote repository
|
||||
- run: rm -rf remote-repository/config remote-repository/src remote-repository/rules remote-repository/packages
|
||||
|
||||
- run: cp -a rector-prefixed-downgraded/. remote-repository
|
||||
|
||||
# 7. setup git
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue
Block a user