Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
release only starcoin
  • Loading branch information
sanlee42 committed Nov 21, 2023
1 parent 26379ec commit 62ebf79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release_asset.yml
Expand Up @@ -48,14 +48,11 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --manifest-path=./cmd/starcoin/Cargo.toml --release

- name: build starcoin release asset
run: bash ./scripts/release.sh ${{ matrix.platform }}

- name: build mpm release asset
run: bash ./scripts/release_mpm.sh ${{ matrix.platform }}

- name: upload artifact asset
uses: actions/upload-artifact@v2
if: ${{ github.event_name != 'release'}}
Expand Down
7 changes: 0 additions & 7 deletions scripts/release.sh
Expand Up @@ -2,13 +2,6 @@
rm -rf starcoin-artifacts/*
mkdir -p starcoin-artifacts/
cp -v target/release/starcoin starcoin-artifacts/
cp -v target/release/starcoin_miner starcoin-artifacts/
cp -v target/release/starcoin_generator starcoin-artifacts/
cp -v target/release/mpm starcoin-artifacts/
cp -v target/release/starcoin_db_exporter starcoin-artifacts/
cp -v scripts/import_block.sh starcoin-artifacts/
cp -v scripts/import_snapshot.sh starcoin-artifacts/
cp -v scripts/verify_header.sh starcoin-artifacts/
cp -v README.md starcoin-artifacts/
if [ "$1" == "windows-latest" ]; then
7z a -r starcoin-$1.zip starcoin-artifacts
Expand Down

0 comments on commit 62ebf79

Please sign in to comment.