Skip to content

Commit

Permalink
Merge branch 'fixTypesAction_6' into testPlayground
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Nov 28, 2024
2 parents c205b29 + 6ff9454 commit 7b8c94b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,16 @@ jobs:
# Step 9: Copy generated types and ABI into the lifi-contract-types repo
- name: Copy Type Bindings and ABI
run: |
rm -r lifi-contract-types/src/
mv typechain lifi-contract-types/src
rm -rf lifi-contract-types/src/
mkdir -p lifi-contract-types/src
cp -r typechain/* lifi-contract-types/src/
cp diamond.json lifi-contract-types/dist/
- name: Verify File Status (for debugging)
run: |
cd lifi-contract-types
git status
# Step 10: Build the lifi-contract-types project
- name: Build Contract Types
run: cd lifi-contract-types && yarn install && yarn build
Expand Down Expand Up @@ -167,9 +173,11 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
echo "Updating version from $LATEST_TAG to $NEW_VERSION"
git add src/*
git add dist/*
git add package.json
# git add src/*
# git add dist/*
# git add package.json
git add -A # Stage all changes, including deletions
git commit -m "actions: new contracts version $NEW_VERSION"
# Annotate and push the new tag
Expand Down

0 comments on commit 7b8c94b

Please sign in to comment.