generated from iotaledger/template
-
Notifications
You must be signed in to change notification settings - Fork 1
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
3 changed files
with
38 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "iota-private-network setup" | ||
description: "Setup IOTA Sandbox" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Set up IOTA Node | ||
shell: bash | ||
run: | | ||
set -e | ||
mkdir -p iota | ||
cd iota | ||
# Set platform | ||
PLATFORM="${{ inputs.platform }}" | ||
echo "Looking for platform: $PLATFORM" | ||
# pinned releases from: | ||
# url = https://api.github.com/repos/iotaledger/iota/releases/latest | ||
# releases might be visible before all binaries are available, so refer to fixed binaries here | ||
DOWNLOAD_URL="https://github.com/iotaledger/iota/releases/download/v0.7.3-rc/iota-v0.7.3-rc-linux-x86_64.tgz" | ||
# Download and extract | ||
echo "Downloading from: $DOWNLOAD_URL" | ||
curl -L -o iota.tar.gz $DOWNLOAD_URL | ||
tar -xzf iota.tar.gz | ||
echo "$PWD" >> $GITHUB_PATH | ||
export PATH="$PWD:$PATH" | ||
which iota || echo "iota not found in PATH" | ||
ls -la "$PWD" |
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/target | ||
|
||
Cargo.lock | ||
|
||
.env |