diff --git a/.github/workflows/master-preview.yml b/.github/workflows/master-preview.yml index db228923c..b6896a6a1 100644 --- a/.github/workflows/master-preview.yml +++ b/.github/workflows/master-preview.yml @@ -22,7 +22,7 @@ jobs: python-version: "3.10" - name: Install DFX - run: sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)" + uses: dfinity/setup-dfx@main - name: "Build & Deploy" run: | diff --git a/.github/workflows/preview-deployment.yml b/.github/workflows/preview-deployment.yml index 5a325b42b..ada860cc3 100644 --- a/.github/workflows/preview-deployment.yml +++ b/.github/workflows/preview-deployment.yml @@ -34,7 +34,7 @@ jobs: python-version: "3.10" - name: Install DFX - run: sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)" + uses: dfinity/setup-dfx@main - name: "Build & Deploy" run: |