Skip to content

Commit 6fafa9f

Browse files
committed
Skip API version check azurite
1 parent 0bd4214 commit 6fafa9f

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/durabletask-azurefunctions.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,18 @@ jobs:
112112

113113
- name: Install Azurite and Azure Functions Core Tools
114114
run: |
115-
npm install -g azurite
115+
npm install -g azurite@latest
116116
npm install -g azure-functions-core-tools@4 --unsafe-perm true
117117
118118
- name: Start Azurite
119119
shell: bash
120+
# The DurableTask.AzureStorage provider in recent extension bundles uses
121+
# a newer Azure Storage REST API version than the CI Azurite build
122+
# recognizes, which otherwise fails task-hub creation with "The API
123+
# version ... is not supported by Azurite". ``--skipApiVersionCheck``
124+
# bypasses that guard so the durable provider can talk to Azurite.
120125
run: |
121-
azurite --silent --location /tmp/azurite --blobPort 10000 --queuePort 10001 --tablePort 10002 &
126+
azurite --silent --skipApiVersionCheck --location /tmp/azurite --blobPort 10000 --queuePort 10001 --tablePort 10002 &
122127
sleep 2
123128
124129
- name: Install nox

0 commit comments

Comments
 (0)