Skip to content

Commit

Permalink
re-enable
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsimpson committed Sep 10, 2024
1 parent 6efe6f4 commit fce82e9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/pr-bb-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
then
echo Byte Buddy tag was updated
tag=$(cat byte-buddy-tag)
#rm agent/libs/byte-buddy*
#git clone https://github.com/raphw/byte-buddy.git
#cp bb.patch byte-buddy
#cd byte-buddy
#git checkout $tag
#git apply bb.patch
#mvn clean package -Pextras -Dskiptests -q -B
#echo Build succeeded
#mv ./byte-buddy/target/$tag.jar ../agent/libs
#mv ./byte-buddy/target/$tag-sources.jar ../agent/libs
#cd ..
#rm -rf byte-buddy
#perl -pi -e "s|libs/byte-buddy-.+jar|libs/$tag.jar|" agent/build.gradle
rm agent/libs/byte-buddy*
git clone https://github.com/raphw/byte-buddy.git
cp bb.patch byte-buddy
cd byte-buddy
git checkout $tag
git apply bb.patch
mvn clean package -Pextras -Dskiptests -q -B
echo Build succeeded
mv ./byte-buddy/target/$tag.jar ../agent/libs
mv ./byte-buddy/target/$tag-sources.jar ../agent/libs
cd ..
rm -rf byte-buddy
perl -pi -e "s|libs/byte-buddy-.+jar|libs/$tag.jar|" agent/build.gradle
echo updated byte buddy and reference
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/kanela
echo set origin url to https://github.com/${{ github.actor }}/kanela
Expand Down

0 comments on commit fce82e9

Please sign in to comment.