Skip to content

Commit

Permalink
Update sed command to use on files of a directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kathy-t committed Nov 28, 2023
1 parent 2850f3a commit 84496f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- run: java -jar avro-tools-1.11.3.jar compile schema cwl.edited.avsc cwl-temp
- run: ls cwl-temp/org # TODO: remove this
# create packages for the classes
- run: sed -i '1i package io.cwl.avro;' cwl-temp/*
- run: sed -i 's/Any/Object/g' cwl-temp/*
- run: find cwl-temp/ -type f -exec sed -i '1i package io.cwl.avro;' {} \;
- run: find cwl-temp/ -type f -exec sed -i 's/Any/Object/g' {} \;
- run: rm cwl-temp/Any.java
- run: rm -Rf cwlavro-generated/src/main/java/io/cwl/avro
- run: cp -R cwl-temp cwlavro-generated/src/main/java/io/cwl/avro
Expand Down

0 comments on commit 84496f8

Please sign in to comment.