-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: updated package name on action and readme
* feat: added comment on action conditional
- Loading branch information
1 parent
0f77c43
commit f33e20c
Showing
2 changed files
with
8 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: [push] | |
jobs: | ||
export: | ||
name: Generate Interfaces And Contracts | ||
# Remove the following line if you wish to export your Solidity contracts and interfaces and publish them to NPM | ||
if: false | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -38,14 +39,14 @@ jobs: | |
uses: defi-wonderland/[email protected] | ||
with: | ||
# Update package_name with your package name | ||
package_name: "@defi_wonderland/solidity-exported" | ||
package_name: "my-cool-project" | ||
out: "out" | ||
interfaces: "solidity/interfaces" | ||
contracts: "solidity/contracts" | ||
export_type: "${{ matrix.export_type }}" | ||
|
||
- name: Publish to NPM - ${{ matrix.export_type }} | ||
# Update `@defi_wonderland/solidity-exported` with your package name | ||
run: cd export/@defi_wonderland/solidity-exported-${{ matrix.export_type }} && npm publish --access public | ||
# Update `my-cool-project` with your package name | ||
run: cd export/my-cool-project-${{ matrix.export_type }} && npm publish --access public | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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