Skip to content

Commit 493345e

Browse files
authored
chore: update dfx to 0.28.0 (#1238)
1 parent 1e652b9 commit 493345e

File tree

5 files changed

+99
-299
lines changed

5 files changed

+99
-299
lines changed

.github/workflows/provision-darwin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rm node.pkg
1818

1919
# Install DFINITY SDK.
2020
curl --location --output install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/master/public/install-dfxvm.sh"
21-
DFX_VERSION=${DFX_VERSION:=0.27.0} DFXVM_INIT_YES=true bash install-dfx.sh
21+
DFX_VERSION=${DFX_VERSION:=0.28.0} DFXVM_INIT_YES=true bash install-dfx.sh
2222
rm install-dfx.sh
2323
echo "$HOME/Library/Application Support/org.dfinity.dfx/bin" >> $GITHUB_PATH
2424
source "$HOME/Library/Application Support/org.dfinity.dfx/env"

.github/workflows/provision-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rm nodesource_setup.sh
1313

1414
# Install DFINITY SDK.
1515
wget --output-document install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/master/public/install-dfxvm.sh"
16-
DFX_VERSION=${DFX_VERSION:=0.27.0} DFXVM_INIT_YES=true bash install-dfx.sh
16+
DFX_VERSION=${DFX_VERSION:=0.28.0} DFXVM_INIT_YES=true bash install-dfx.sh
1717
rm install-dfx.sh
1818
echo "$HOME/.local/share/dfx/bin" >>$GITHUB_PATH
1919
source "$HOME/.local/share/dfx/env"

motoko/send_http_get/src/send_http_get_backend/main.mo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ actor {
5555
function = transform;
5656
context = Blob.fromArray([]);
5757
};
58+
// Toggle this flag to switch between replicated and non-replicated http outcalls.
59+
is_replicated = ?false;
5860
};
5961

6062
//2. MAKE HTTPS REQUEST AND WAIT FOR RESPONSE, BUT MAKE SURE TO ADD CYCLES.

0 commit comments

Comments
 (0)