Skip to content

Commit

Permalink
Merge pull request #4 from capsule-corp-ternoa/alphanet-fixes
Browse files Browse the repository at this point in the history
Alphanet fixes
  • Loading branch information
peshwar9 authored Sep 5, 2023
2 parents 3056661 + e4aec4b commit 28b0fb9
Show file tree
Hide file tree
Showing 101 changed files with 7,172 additions and 5,422 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/sign-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Tertnoa-SGX-Enclave

on:
push:
branches: [ "master" ]
tags: [v0.4.*]
tags: [v0.4*]
pull_request:
branches: [ "master" ]
types: [opened]
types: [opened, reopened]

workflow_dispatch:

env:
TAG: "v0.4-alpha"
MRENCLAVE: "9e26329e0d451e02e3c7622025921397ead737ec0d09d1f31fe35c7486a6cfb0"
CARGO_TERM_COLOR: always

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --features alpha-net,release-build --release
args: --no-default-features --features alpha-net --release

- name: Create the Deployment ZIP
run: |
Expand All @@ -61,15 +61,15 @@ jobs:
cd deployment
zip ternoa_enclave_deployment.zip ternoa_enclave/gramine/bin/*
cd ..
echo -n ${{env.MRENCLAVE}} >> MRENCLAVE
echo -n ${{ env.MRENCLAVE }} >> MRENCLAVE
- name: Upload ZIP to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: deployment/ternoa_enclave_deployment.zip
asset_name: ternoa_enclave_apha.zip
tag: ${{ github.ref }}
asset_name: ternoa_enclave_alpha.zip
tag: ${{ env.TAG }}
overwrite: true
body: "Ternoa SGX Package for alphanet chain"

Expand All @@ -80,6 +80,6 @@ jobs:

file: MRENCLAVE
asset_name: MRENCLAVE
tag: ${{ github.ref }}
tag: ${{ env.TAG }}
overwrite: true
body: "Ternoa SGX Server MRENCLAVE for alphanet chain"
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/target/
/tools/target/
root/*
Cargo.lock

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Expand Down
Loading

0 comments on commit 28b0fb9

Please sign in to comment.