Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 6612158

Browse files
committed
fix: update to handle repo renaming. Pin to alpha.36
1 parent 298eea4 commit 6612158

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### ⚠️ Warning
44

55
This action has been **archived** in favor of [`anvil-zksync-action`](https://github.com/dutterbutter/anvil-zksync-action).
6-
By default, this action fetches version `v0.1.0-alpha.34` of `era-test-node` unless a different tag is specified, as this was the last release before the binary was renamed. Tags past this may not work given the binary difference.
6+
By default, this action fetches version `v0.1.0-alpha.36` of `era-test-node` unless a different tag is specified, as this was the last release before the binary was renamed. Tags past this may not work given the binary difference.
77

88
## Description
99

dist/index.cjs

+1-1
Large diffs are not rendered by default.

index.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ async function getDownloadUrl() {
1212
let apiUrl;
1313
if (ERA_TEST_NODE_RELEASE_TAG === "latest") {
1414
apiUrl =
15-
"https://api.github.com/repos/matter-labs/era-test-node/releases/tags/v0.1.0-alpha.34";
15+
"https://api.github.com/repos/matter-labs/era-test-node/releases/tags/v0.1.0-alpha.36";
1616
} else {
1717
apiUrl = `https://api.github.com/repos/matter-labs/era-test-node/releases/tags/${ERA_TEST_NODE_RELEASE_TAG}`;
1818
}
1919

2020
const response = await fetch(apiUrl);
2121
if (!response.ok) {
2222
throw new Error(
23-
`Failed to fetch release info for tag ${ERA_TEST_NODE_RELEASE_TAG}. HTTP Status: ${response.status}`
23+
`Failed to fetch release info for tag ${ERA_TEST_NODE_RELEASE_TAG}. era-test-node-action will only support latest (v0.1.0-alpha.36) in favour of anvil-zksync-action. HTTP Status: ${response.status}`
2424
);
2525
}
2626

0 commit comments

Comments
 (0)