forked from trustwallet/assets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add updater auto (BEP2) (trustwallet#16497)
- Loading branch information
Showing
5 changed files
with
57 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,26 +12,32 @@ jobs: | |
with: | ||
token: ${{ secrets.COMMIT_TOKEN }} | ||
ref: ${{ github.head_ref }} | ||
- uses: actions/setup-node@v1 | ||
|
||
- name: Set up Go 1.17 | ||
uses: actions/setup-go@v2 | ||
with: | ||
node-version: 12 | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Run scripts | ||
run: npm run updateAuto | ||
go-version: 1.17 | ||
id: go | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run update auto | ||
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=update-auto | ||
|
||
- name: Show update result (diff) | ||
if: success() | ||
run: | | ||
git status | ||
git diff | ||
- name: Run check | ||
run: npm run check | ||
- name: Run test | ||
run: npm t | ||
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=sanity-check | ||
|
||
- name: Commit changes | ||
if: success() | ||
uses: stefanzweifel/[email protected] | ||
with: | ||
commit_user_name: trust-wallet-merge-bot | ||
commit_user_email: [email protected] | ||
commit_message: External Updates | ||
commit_message: External Updates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters