Skip to content

Commit 1336a9c

Browse files
authored
Merge pull request #2423 from oasisprotocol/njelich/ci-examples-use-cli-action
ci(): update ci-examples to use CLI action
2 parents 34df757 + e20177c commit 1336a9c

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/ci-examples.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,12 @@ jobs:
6767
- name: Checkout
6868
uses: actions/checkout@v4
6969

70-
- name: Install Oasis CLI
71-
env:
72-
CLI_VERSION: 0.14.3
73-
run: |
74-
wget https://github.com/oasisprotocol/cli/releases/download/v${CLI_VERSION}/oasis_cli_${CLI_VERSION}_linux_amd64.tar.gz -O cli.tar.gz
75-
tar --strip-components 1 -xf cli.tar.gz
70+
- name: Setup Oasis CLI
71+
uses: oasisprotocol/setup-cli-action@0.0.2
7672

7773
- name: Build ${{ matrix.example }}
7874
working-directory: examples/${{ matrix.example }}
79-
run: ../../../oasis rofl build --deployment testnet
75+
run: oasis rofl build --deployment testnet
8076

8177
lint-test-contract-sdk:
8278
name: lint-test-contract-sdk

0 commit comments

Comments
 (0)