Skip to content

Commit

Permalink
fix: install dfx using setup-dfx action
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswanson-dfinity committed Mar 2, 2024
1 parent 8678a87 commit ee926e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
build_deps: scripts/workflows/provision-darwin-build.sh
steps:
- uses: actions/checkout@master

- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -83,6 +83,8 @@ jobs:
path: /usr/local/bin
- name: Setup quill binary
run: chmod +x /usr/local/bin/quill
- name: Install dfx
uses: dfinity/setup-dfx@main
- name: Provision Darwin
if: ${{ contains(matrix.os, 'macos') }}
run: bash scripts/workflows/provision-darwin-e2e.sh
Expand Down
3 changes: 0 additions & 3 deletions scripts/workflows/provision-darwin-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ pushd /tmp

brew install coreutils

# install dfx
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

# Install Bats.
if [ "$(uname -r)" = "19.6.0" ]; then
brew unlink bats
Expand Down
3 changes: 0 additions & 3 deletions scripts/workflows/provision-linux-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ export
# Enter temporary directory.
pushd /tmp

# install dfx
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

# Install Bats.
sudo apt-get install --yes bats

Expand Down

0 comments on commit ee926e7

Please sign in to comment.