-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
15 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 |
---|---|---|
|
@@ -41,24 +41,23 @@ jobs: | |
${{ matrix.os }}_digital-asset-rpc-infrastructure | ||
- name: build digital asset rpc infra | ||
working-directory: digital-asset-rpc-infrastructure/ | ||
run: cargo build --verbose --release | ||
|
||
- name: build das_api | ||
working-directory: digital-asset-rpc-infrastructure/das_api | ||
working-directory: das_api | ||
run: cargo build --verbose --release | ||
|
||
- name: build migration | ||
working-directory: digital-asset-rpc-infrastructure/migration | ||
working-directory: migration | ||
run: cargo build --verbose --release | ||
|
||
- name: rename binaries for ubuntu22 release | ||
if: matrix.os == 'ubuntu-22.04' | ||
run: | | ||
mv digital-asset-rpc-infrastructure/target/release/nft_ingester digital-asset-rpc-infrastructure/target/release/nft_ingester22 | ||
mv digital-asset-rpc-infrastructure/target/release/fetch-trees digital-asset-rpc-infrastructure/target/release/fetch-trees22 | ||
mv digital-asset-rpc-infrastructure/das_api/target/release/das_api digital-asset-rpc-infrastructure/das_api/target/release/das_api22 | ||
mv digital-asset-rpc-infrastructure/migration/target/release/migration digital-asset-rpc-infrastructure/migration/target/release/migration22 | ||
mv target/release/nft_ingester target/release/nft_ingester22 | ||
mv target/release/fetch-trees target/release/fetch-trees22 | ||
mv das_api/target/release/das_api das_api/target/release/das_api22 | ||
mv migration/target/release/migration migration/target/release/migration22 | ||
# This steps can be omited to save space, are mostly in place to validate binaries (manually) and path to them | ||
# Omiting this will save on storage consumption on the account | ||
|
@@ -67,53 +66,53 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: nft_ingester22 | ||
path: digital-asset-rpc-infrastructure/target/release/nft_ingester22 | ||
path: target/release/nft_ingester22 | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-22.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: das_api22 | ||
path: digital-asset-rpc-infrastructure/das_api/target/release/das_api22 | ||
path: das_api/target/release/das_api22 | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-22.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: migration22 | ||
path: digital-asset-rpc-infrastructure/migration/target/release/migration22 | ||
path: migration/target/release/migration22 | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-22.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: fetch-trees22 | ||
path: digital-asset-rpc-infrastructure/migration/target/release/fetch-trees22 | ||
path: migration/target/release/fetch-trees22 | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: nft_ingester | ||
path: digital-asset-rpc-infrastructure/target/release/nft_ingester | ||
path: target/release/nft_ingester | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: das_api | ||
path: digital-asset-rpc-infrastructure/das_api/target/release/das_api | ||
path: das_api/target/release/das_api | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: migration | ||
path: digital-asset-rpc-infrastructure/migration/target/release/migration | ||
path: migration/target/release/migration | ||
|
||
- name: Publish artifact | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: actions/[email protected] | ||
with: | ||
name: fetch-trees | ||
path: digital-asset-rpc-infrastructure/target/release/fetch-trees | ||
path: target/release/fetch-trees |