Skip to content

Commit 013d77e

Browse files
Merge pull request #1082 from dfinity/fix/add-icp-transfer-example-back
🩹 added move icp-transfer example from archive
2 parents 0f7ecd6 + 0f0fde6 commit 013d77e

File tree

7 files changed

+41
-1
lines changed

7 files changed

+41
-1
lines changed

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/motoko/encrypted-notes-dapp/ @dfinity/crypto-team
2121
/motoko/hello_cycles/ @dfinity/languages
2222
/motoko/ic-pos/ @dfinity/growth
23+
/motoko/icp_transfer/ @dfinity/growth
2324
/motoko/icrc2-swap/ @dfinity/growth
2425
/motoko/internet_identity_integration/ @dfinity/identity
2526
/motoko/life/ @dfinity/languages
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Known failure: https://dfinity.atlassian.net/browse/EM-5
2+
name: motoko-icp_transfer
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
paths:
9+
- motoko/icp_transfer/**
10+
- .github/workflows/provision-darwin.sh
11+
- .github/workflows/provision-linux.sh
12+
- .github/workflows/motoko-icp-transfer-example.yml
13+
- .ic-commit
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
jobs:
18+
motoko-icp_transfer-darwin:
19+
runs-on: macos-15
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Provision Darwin
23+
run: bash .github/workflows/provision-darwin.sh
24+
- name: Motoko Ledger Transfer Darwin
25+
run: |
26+
pushd motoko/icp_transfer
27+
bash ./demo.sh
28+
popd
29+
motoko-icp_transfer-linux:
30+
runs-on: ubuntu-20.04
31+
steps:
32+
- uses: actions/checkout@v1
33+
- name: Provision Linux
34+
run: bash .github/workflows/provision-linux.sh
35+
- name: Motoko Ledger Transfer Linux
36+
run: |
37+
pushd motoko/icp_transfer
38+
bash ./demo.sh
39+
popd
File renamed without changes.

archive/motoko/icp_transfer/README.md motoko/icp_transfer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The URL for the ledger.did file is `https://raw.githubusercontent.com/dfinity/ic
6060
If you want to make sure you have the latest ICP ledger files, you can run the following script. Please ensure that you have [`jq`](https://jqlang.github.io/jq/) installed as the script relies on it.
6161

6262
```sh
63-
curl -o download_latest_icp_ledger.sh "https://raw.githubusercontent.com/dfinity/ic/00a4ab409e6236d4082cee4a47544a2d87b7190d/rs/rosetta-api/scripts/download_latest_icp_ledger.sh"
63+
curl -o download_latest_icp_ledger.sh "https://raw.githubusercontent.com/dfinity/ic/1f1d8dd8c294d19a5551a022e3f00f25da7dc944/rs/rosetta-api/scripts/download_latest_icp_ledger.sh"
6464
chmod +x download_latest_icp_ledger.sh
6565
./download_latest_icp_ledger.sh
6666
```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)