Skip to content

Commit

Permalink
Merge pull request #1082 from dfinity/fix/add-icp-transfer-example-back
Browse files Browse the repository at this point in the history
🩹 added move icp-transfer example from archive
  • Loading branch information
letmejustputthishere authored Jan 17, 2025
2 parents 0f7ecd6 + 0f0fde6 commit 013d77e
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/motoko/encrypted-notes-dapp/ @dfinity/crypto-team
/motoko/hello_cycles/ @dfinity/languages
/motoko/ic-pos/ @dfinity/growth
/motoko/icp_transfer/ @dfinity/growth
/motoko/icrc2-swap/ @dfinity/growth
/motoko/internet_identity_integration/ @dfinity/identity
/motoko/life/ @dfinity/languages
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/motoko-icp-transfer-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Known failure: https://dfinity.atlassian.net/browse/EM-5
name: motoko-icp_transfer
on:
push:
branches:
- master
pull_request:
paths:
- motoko/icp_transfer/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/motoko-icp-transfer-example.yml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
motoko-icp_transfer-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Motoko Ledger Transfer Darwin
run: |
pushd motoko/icp_transfer
bash ./demo.sh
popd
motoko-icp_transfer-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Motoko Ledger Transfer Linux
run: |
pushd motoko/icp_transfer
bash ./demo.sh
popd
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The URL for the ledger.did file is `https://raw.githubusercontent.com/dfinity/ic
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.

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

0 comments on commit 013d77e

Please sign in to comment.