Skip to content

Commit

Permalink
Remove an extra import
Browse files Browse the repository at this point in the history
  • Loading branch information
andor0 committed Jan 10, 2022
1 parent 9dff0cc commit 4ce653e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/testnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,35 @@ name: "Testnet Community Release"
on:
push:
branches:
- main
- main
pull_request:
branches:
- main

env:
CHAIN: "picasso"
CHAIN: "dali"
RELEASE_VERSION: "latest"

jobs:
build-and-publish:
runs-on:
- self-hosted
- linux
- x64
- sre
- self-hosted
- linux
- x64
- sre
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: picasso
ref: main

- name: Build and Push Artifacts to gcloud
run: |
/home/runner/.cargo/bin/cargo build --release --bins
/home/runner/.cargo/bin/cargo build --release --bins --features develop
git rev-parse HEAD > revision
tar -czvf composable-${{ env.RELEASE_VERSION }}.tar.gz target/release/composable
tar -czvf picasso_runtime.compact.wasm-${RELEASE_VERSION}.tar.gz target/release/wbuild/picasso-runtime/picasso_runtime.compact.wasm
tar -czvf ${CHAIN}_runtime.compact.wasm-${RELEASE_VERSION}.tar.gz target/release/wbuild/${CHAIN}-runtime/${CHAIN}_runtime.compact.wasm
tar -czvf parachain-utils-${RELEASE_VERSION}.tar.gz target/release/parachain-utils
tar -czvf revision-${RELEASE_VERSION}.tar.gz revision
gsutil mv *.tar.gz gs://composable-binaries/testnet-releases/picasso/
ls -l
gsutil mv *.tar.gz gs://composable-binaries/testnet-releases/${CHAIN}/
2 changes: 0 additions & 2 deletions runtime/dali/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ use orml_traits::parameter_type_with_key;
use primitives::currency::CurrencyId;
use sp_api::impl_runtime_apis;
use sp_core::{crypto::KeyTypeId, OpaqueMetadata};
#[cfg(feature = "develop")]
use sp_runtime::traits::ConvertInto;
use sp_runtime::{
create_runtime_str, generic, impl_opaque_keys,
traits::{AccountIdConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, Zero},
Expand Down

0 comments on commit 4ce653e

Please sign in to comment.