Skip to content

Commit

Permalink
fix build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetazzz committed Mar 6, 2024
1 parent d5337e0 commit a181a75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Code Generation
run: |
BRANCH_NAME="build-$(date +%Y%m%d-%H%M%S)"
yarn
yarn bootstrap
yarn build
git checkout -b $BRANCH_NAME
cd packages/chain-registry
yarn codegen
yarn build
Expand All @@ -33,8 +35,6 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
BRANCH_NAME="build-$(date +%Y%m%d-%H%M%S)"
git checkout -b $BRANCH_NAME
git add .
if ! git diff --staged --quiet; then
git commit -am "build 🛠 $BRANCH_NAME"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Code Generation
run: |
BRANCH_NAME="build-$(date +%Y%m%d-%H%M%S)"
yarn
yarn bootstrap
yarn build
git checkout -b $BRANCH_NAME
cd packages/chain-registry
yarn codegen
yarn build
Expand All @@ -40,8 +42,6 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
BRANCH_NAME="build-$(date +%Y%m%d-%H%M%S)"
git checkout -b $BRANCH_NAME
git add .
if ! git diff --staged --quiet; then
git commit -am "build 🛠 $BRANCH_NAME"
Expand Down

0 comments on commit a181a75

Please sign in to comment.