From 7e76a8f0efb2f59a4728f86e6391d1ecba8e557b Mon Sep 17 00:00:00 2001 From: glihm Date: Wed, 25 Oct 2023 17:16:32 -0600 Subject: [PATCH] add example with command and stop the instance --- .github/workflows/example.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 99607b0..9064df4 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -15,7 +15,7 @@ jobs: - name: Startup Katana CI instance id: katanaci - uses: ArkProjectNFTs/katana-ci-action@v4 + uses: ArkProjectNFTs/katana-ci-action@v5 with: api-url: ${{ secrets.KATANA_CI_URL }} api-key: ${{ secrets.KATANA_CI_KEY }} @@ -30,3 +30,11 @@ jobs: with: command: run args: --example e2e + + - name: Terminate Katana CI instance + uses: ArkProjectNFTs/katana-ci-action@v5 + with: + api-url: ${{ secrets.KATANA_CI_URL }} + api-key: ${{ secrets.KATANA_CI_KEY }} + cmd: 'stop' + name: ${{ steps.katanaci.outputs.katana-name }}