-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing releases to build with profile=prod
- Loading branch information
1 parent
0857733
commit 248e959
Showing
3 changed files
with
9 additions
and
9 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 |
---|---|---|
|
@@ -111,22 +111,22 @@ jobs: | |
uses: gluwa/cargo@dev | ||
with: | ||
command: build | ||
args: --release ${{ needs.setup.outputs.build_options}} | ||
args: --profile=production ${{ needs.setup.outputs.build_options}} | ||
|
||
- name: Build MacOS aarch64 target | ||
if: matrix.operating-system == 'macos-11' | ||
continue-on-error: true | ||
uses: gluwa/cargo@dev | ||
with: | ||
command: build | ||
args: --release --target aarch64-apple-darwin | ||
args: --profile=production --target aarch64-apple-darwin | ||
|
||
- name: Compress | ||
continue-on-error: true | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: "zip" | ||
directory: "target/release/" | ||
directory: "target/production/" | ||
path: "creditcoin3-node*" | ||
filename: "../../creditcoin-${{ needs.sanity-check.outputs.TAG_NAME }}-${{ env.PLATFORM }}.zip" | ||
exclusions: "creditcoin3-node.d" | ||
|
@@ -137,7 +137,7 @@ jobs: | |
uses: thedoctor0/[email protected] | ||
with: | ||
type: "zip" | ||
directory: "target/aarch64-apple-darwin/release/" | ||
directory: "target/aarch64-apple-darwin/production/" | ||
path: "creditcoin3-node*" | ||
filename: "../../../creditcoin-${{ needs.sanity-check.outputs.TAG_NAME }}-aarch64-apple-darwin.zip" | ||
exclusions: "creditcoin3-node.d" | ||
|
@@ -167,7 +167,7 @@ jobs: | |
id: srtool_build | ||
uses: chevdor/[email protected] | ||
env: | ||
BUILD_OPTS: "--release ${{ needs.setup.outputs.build_options }}" | ||
BUILD_OPTS: "--profile=production ${{ needs.setup.outputs.build_options }}" | ||
with: | ||
chain: "creditcoin" | ||
runtime_dir: runtime | ||
|
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