Skip to content

Commit

Permalink
# This is a combination of 5 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

fetch depth

# The commit message #2 will be skipped:

# Update checkout action

# The commit message #3 will be skipped:

# Update checkout action

# The commit message #4 will be skipped:

# Update checkout action

# The commit message #5 will be skipped:

# Update checkout action
  • Loading branch information
haroldsphinx committed Jan 27, 2022
1 parent 5617a98 commit 622820d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 32 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
env:
DOCKER_USER_OPTION: '$UID:$GID'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
substrate-check:
name: Check Benchmarks
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,48 +27,18 @@ jobs:
with:
toolchain: stable

<<<<<<< HEAD
- name: 🔨 Install srtool
id: client_release
=======
- name: Install srtool
>>>>>>> ff39c92f7eabfa3218adfb252cef89ba7b3593f3
run: |
cargo install --git https://github.com/chevdor/srtool-cli
cargo install --locked --git https://github.com/chevdor/subwasm --tag v0.16.1
<<<<<<< HEAD
- name: 🔨 Build and Upload Composable Binary
id: client_release
run: |
.maintain/client_release.sh
- name: Build wasm with srtool
=======
- name: Runtime wasm builds
>>>>>>> ff39c92f7eabfa3218adfb252cef89ba7b3593f3
id: runtime_release
run: |
.maintain/runtime_release.sh
- uses: release-drafter/release-drafter@v5
id: release_drafter
<<<<<<< HEAD
env:
GITHUB_TOKEN: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }}

- name: Upload Compact Picasso wasm
id: upload-release-asset
if: env.picasso_wasm == 1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.COMPOSABLE_GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release_drafter.outputs.upload_url }}
asset_path: ./runtime/picasso/target/srtool/release/wbuild/picasso-runtime/picasso_runtime.compact.wasm
asset_name: picasso_runtime.compact.wasm

=======

- name: Set Permission
continue-on-error: true
Expand Down Expand Up @@ -130,4 +100,3 @@ jobs:
asset_path: ./target/release/composable
asset_name: composable
asset_content_type: application/octet-stream
>>>>>>> ff39c92f7eabfa3218adfb252cef89ba7b3593f3
6 changes: 5 additions & 1 deletion .github/workflows/simnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
docker system prune --force --all --volumes
echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
echo "make sure the main branch and release tag are available in shallow clones"
git fetch --depth="${GIT_DEPTH:-100}" origin "${BASE_BRANCH}"
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -49,12 +50,15 @@ jobs:
- name: Run Simnode
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
<<<<<<< HEAD
<<<<<<< HEAD
GITHUB_BRANCH_NAME: ${GITHUB_REF##*/}

=======
GITHUB_REF_NAME: ${{ env.BRANCH_NAME }}
>>>>>>> 8dd5efff... Update checkout action
=======
>>>>>>> 77e77a97... Update checkout action
if: env.RUNTIME_CHECK == 1
id: run_simnode
run: .maintain/run_simnode.sh

0 comments on commit 622820d

Please sign in to comment.