Skip to content

Commit a57cc19

Browse files
committed
fix(ci): clear generated sources before overlaying the new ones on publish
1 parent 9f32b61 commit a57cc19

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
with:
9090
repository: vrchatapi/vrchatapi-java
9191

92+
# The artifact is overlaid onto the checkout rather than replacing it, so anything the
93+
# generator stops emitting would otherwise survive in main forever. These are the paths
94+
# generate.sh regenerates; util/ is hand-written and stays.
95+
- run: rm -rf docs src/main/java/io/github/vrchatapi/{api,auth,model} src/main/java/io/github/vrchatapi/*.java
96+
9297
- uses: actions/download-artifact@v8
9398
with:
9499
name: java-generated

0 commit comments

Comments
 (0)