browser-actions / setup-edge

Set up your GitHub Actions workflow with a specific version of Microsoft Edge
https://github.com/marketplace/actions/setup-edge
MIT License
5 stars 6 forks source link

Stable version setup is failing in Ubuntu 22.04 with "Artifact not found for platform linux amd64" #386

Open ferbetanzo opened 1 year ago

ferbetanzo commented 1 year ago

The setup of version stable is failing with Error: Artifact not found of Edge stable for platform linux amd64 on GitHub runner Ubuntu 22.04.02 LTS

ferbetanzo commented 1 year ago

Yeah, forgot to mention that using beta works as a temporary workaround.

ndepaola commented 1 month ago

now hitting this on both stable and beta

altbdoor commented 1 month ago

https://github.com/browser-actions/setup-edge/blob/da55a3730bb1d516cf8192e6f316833d2359bc67/src/edge_api.ts#L110-L111

The script appears to retrieve the lists of available artifacts from a MS API, which is https://edgeupdates.microsoft.com/api/products

At the time of this comment, there are no artifacts for { "Platform": "Linux", "Architecture": "x64" }.

Show huge, prettified JSON data ```json [ { "Product": "Stable", "Releases": [ { "ReleaseId": 77621, "Platform": "Android", "Architecture": "arm64", "CVEs": [], "ProductVersion": "126.0.2592.106", "Artifacts": [], "PublishedTime": "2024-07-15T03:16:00", "ExpectedExpiryDate": "2024-10-15T03:16:00" }, { "ReleaseId": 77624, "Platform": "iOS", "Architecture": "arm64", "CVEs": [], "ProductVersion": "126.0.2592.106", "Artifacts": [], "PublishedTime": "2024-07-15T03:59:00", "ExpectedExpiryDate": "2025-07-15T03:59:00" }, { "ReleaseId": 77822, "Platform": "Windows", "Architecture": "arm64", "CVEs": [ "CVE-2024-6778", "CVE-2024-6777", "CVE-2024-6775", "CVE-2024-6772", "CVE-2024-6779" ], "ProductVersion": "126.0.2592.113", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/5edf0d65-87a5-4842-b877-65653a34eda5/MicrosoftEdgeEnterpriseARM64.msi", "Hash": "59E6E32113DB8DE1BF931439A8DB8B9F05B073E3BAD3FEBCE4FEA4B924D5EF80", "HashAlgorithm": "SHA256", "SizeInBytes": 179851264 } ], "PublishedTime": "2024-07-20T08:43:00", "ExpectedExpiryDate": "2025-07-18T19:10:00" }, { "ReleaseId": 77823, "Platform": "Windows", "Architecture": "x64", "CVEs": [ "CVE-2024-6778", "CVE-2024-6777", "CVE-2024-6775", "CVE-2024-6772", "CVE-2024-6779" ], "ProductVersion": "126.0.2592.113", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a8a29c25-2ea1-4ece-9e96-553fc4eb6038/MicrosoftEdgeEnterpriseX64.msi", "Hash": "975B5B5997009B6A8EA9E06F0875106BD81ED3BFDFA65A74412C42CCE2D0C5D7", "HashAlgorithm": "SHA256", "SizeInBytes": 179093504 } ], "PublishedTime": "2024-07-20T08:59:00", "ExpectedExpiryDate": "2025-07-18T19:10:00" }, { "ReleaseId": 77828, "Platform": "Windows", "Architecture": "x86", "CVEs": [ "CVE-2024-6778", "CVE-2024-6777", "CVE-2024-6775", "CVE-2024-6772", "CVE-2024-6779" ], "ProductVersion": "126.0.2592.113", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d8fae16d-bd45-41f8-bb3d-eee7137ee4e2/MicrosoftEdgeEnterpriseX86.msi", "Hash": "16AA96C875768A707B7ECAC700605E4499EC88BE632590BFC8E631B38EF44A32", "HashAlgorithm": "SHA256", "SizeInBytes": 162353152 } ], "PublishedTime": "2024-07-20T08:59:00", "ExpectedExpiryDate": "2025-07-18T19:20:00" }, { "ReleaseId": 77910, "Platform": "Linux", "Architecture": "x64", "CVEs": [ "CVE-2024-6778", "CVE-2024-6775", "CVE-2024-6772", "CVE-2024-6773", "CVE-2024-6779" ], "ProductVersion": "126.0.2592.113", "Artifacts": [], "PublishedTime": "2024-07-19T20:05:00", "ExpectedExpiryDate": "2025-07-19T20:05:00" }, { "ReleaseId": 77912, "Platform": "MacOS", "Architecture": "universal", "CVEs": [], "ProductVersion": "126.0.2592.113", "Artifacts": [ { "ArtifactName": "plist", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/1388ed81-9cf0-4796-9a79-e0c1085a76f7/MicrosoftEdge-126.0.2592.113.plist", "Hash": "04251F1F058399F025BFDB46186D5AD5BF16737F63087B7A2049BCC8F987315D", "HashAlgorithm": "SHA256", "SizeInBytes": 3268 }, { "ArtifactName": "pkg", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/9c8166e6-9243-422c-ba3e-8ca95f08be01/MicrosoftEdge-126.0.2592.113.pkg", "Hash": "C72078FBF331BC433D8ECAC1570E2B139C2F198AE33759BEA9BAB37F6985B883", "HashAlgorithm": "SHA256", "SizeInBytes": 388139959 } ], "PublishedTime": "2024-07-19T20:08:00", "ExpectedExpiryDate": "2025-07-19T20:08:00" } ] }, { "Product": "Beta", "Releases": [ { "ReleaseId": 77884, "Platform": "Android", "Architecture": "arm64", "CVEs": [], "ProductVersion": "127.0.2651.59", "Artifacts": [], "PublishedTime": "2024-07-19T16:41:00", "ExpectedExpiryDate": "2024-10-19T16:41:00" }, { "ReleaseId": 77886, "Platform": "iOS", "Architecture": "arm64", "CVEs": [], "ProductVersion": "127.0.2651.59", "Artifacts": [], "PublishedTime": "2024-07-19T16:42:00", "ExpectedExpiryDate": "2024-10-19T16:42:00" }, { "ReleaseId": 77890, "Platform": "Windows", "Architecture": "arm64", "CVEs": [], "ProductVersion": "127.0.2651.61", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/e35ecfbb-159d-44dc-b59c-f1dd39a136cd/MicrosoftEdgeBetaEnterpriseARM64.msi", "Hash": "1E2A05DED81B8EAC4B1C35E4378262B070E41FF3689434EABFAD1FC8D6459B27", "HashAlgorithm": "SHA256", "SizeInBytes": 179494912 } ], "PublishedTime": "2024-07-19T19:00:00", "ExpectedExpiryDate": "2024-10-19T19:00:00" }, { "ReleaseId": 77894, "Platform": "Linux", "Architecture": "x64", "CVEs": [], "ProductVersion": "127.0.2651.61", "Artifacts": [], "PublishedTime": "2024-07-19T19:06:00", "ExpectedExpiryDate": "2024-10-19T19:06:00" }, { "ReleaseId": 77896, "Platform": "MacOS", "Architecture": "universal", "CVEs": [], "ProductVersion": "127.0.2651.61", "Artifacts": [ { "ArtifactName": "plist", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d1a57600-9db8-4993-8fa1-360dd36a5b07/MicrosoftEdgeBeta-127.0.2651.61.plist", "Hash": "C4BE1E4C613B669D1BAF0BC39D19755189E7B1AAF01842092B9FFBA94312D1E6", "HashAlgorithm": "SHA256", "SizeInBytes": 3281 }, { "ArtifactName": "pkg", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/f1b0edb9-b47b-4f5d-b3ea-d4eeec151e28/MicrosoftEdgeBeta-127.0.2651.61.pkg", "Hash": "6C0103170EC8B1EA6874A82F0B52C1739EB5DDC7AFB3B6C7FBC93D8C4555C58E", "HashAlgorithm": "SHA256", "SizeInBytes": 393963153 } ], "PublishedTime": "2024-07-19T19:13:00", "ExpectedExpiryDate": "2024-10-19T19:13:00" }, { "ReleaseId": 77897, "Platform": "Windows", "Architecture": "x64", "CVEs": [], "ProductVersion": "127.0.2651.61", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/1d326738-9277-4dd3-b966-11cf496814d9/MicrosoftEdgeBetaEnterpriseX64.msi", "Hash": "1B7349DAC8C119413C81310630B54D4513A23827F893FA24BB48A0CD98703416", "HashAlgorithm": "SHA256", "SizeInBytes": 178565120 } ], "PublishedTime": "2024-07-19T19:16:00", "ExpectedExpiryDate": "2024-10-19T19:16:00" }, { "ReleaseId": 77898, "Platform": "Windows", "Architecture": "x86", "CVEs": [], "ProductVersion": "127.0.2651.61", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/de793702-0b6e-422f-83e0-c85cc89c5354/MicrosoftEdgeBetaEnterpriseX86.msi", "Hash": "2BEAA1A308D38FD4BA77CCB1249CAF9C014B17A0AD3920ED607835C7AB6E82DE", "HashAlgorithm": "SHA256", "SizeInBytes": 161820672 } ], "PublishedTime": "2024-07-19T19:16:00", "ExpectedExpiryDate": "2024-10-19T19:16:00" } ] }, { "Product": "Dev", "Releases": [ { "ReleaseId": 77754, "Platform": "Windows", "Architecture": "arm64", "CVEs": [], "ProductVersion": "128.0.2708.0", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d4dca28b-ea8f-48ff-94a6-f02d99def30f/MicrosoftEdgeDevEnterpriseARM64.msi", "Hash": "D6788550B50ED8781E1B68F332225E13EF45F271351A3DD37DFAE74D10E93E98", "HashAlgorithm": "SHA256", "SizeInBytes": 179609600 } ], "PublishedTime": "2024-07-17T20:37:00", "ExpectedExpiryDate": "2024-10-17T20:37:00" }, { "ReleaseId": 77760, "Platform": "Linux", "Architecture": "x64", "CVEs": [], "ProductVersion": "128.0.2708.0", "Artifacts": [], "PublishedTime": "2024-07-17T20:58:00", "ExpectedExpiryDate": "2024-10-17T20:58:00" }, { "ReleaseId": 77762, "Platform": "MacOS", "Architecture": "universal", "CVEs": [], "ProductVersion": "128.0.2708.0", "Artifacts": [ { "ArtifactName": "pkg", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/8167bf1b-791c-464f-ba4e-ade12c9d2ff2/MicrosoftEdgeDev-128.0.2708.0.pkg", "Hash": "56E06609C752E9DD21D76B80B10366ECACCC736D052C07D5DA3CE14D7D1676B1", "HashAlgorithm": "SHA256", "SizeInBytes": 395876881 }, { "ArtifactName": "plist", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c2d1ef6e-0c04-4b97-afea-574cd535bf88/MicrosoftEdgeDev-128.0.2708.0.plist", "Hash": "42407280B0A060AC617DEF080898FDB9B0340180EE0C22932502317217CD6B0A", "HashAlgorithm": "SHA256", "SizeInBytes": 3277 } ], "PublishedTime": "2024-07-17T21:08:00", "ExpectedExpiryDate": "2024-10-17T21:08:00" }, { "ReleaseId": 77767, "Platform": "Windows", "Architecture": "x86", "CVEs": [], "ProductVersion": "128.0.2708.0", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/e27ffca1-e131-4cec-96b8-ff02ad4047b6/MicrosoftEdgeDevEnterpriseX86.msi", "Hash": "3553B7300F37FD0EE8AD50E655DB00DFCD03C77B07BD505C9EEBA317FD7B9D6E", "HashAlgorithm": "SHA256", "SizeInBytes": 162115584 } ], "PublishedTime": "2024-07-17T21:26:00", "ExpectedExpiryDate": "2024-10-17T21:26:00" }, { "ReleaseId": 77772, "Platform": "Windows", "Architecture": "x64", "CVEs": [], "ProductVersion": "128.0.2708.0", "Artifacts": [ { "ArtifactName": "msi", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/dec8b082-b62d-4cdb-9c3c-8a6402bc18a4/MicrosoftEdgeDevEnterpriseX64.msi", "Hash": "463A76F9CCE724D3B52AD1BABC41125D6B76E94CE7D9682266039EE9C18BEFF7", "HashAlgorithm": "SHA256", "SizeInBytes": 178933760 } ], "PublishedTime": "2024-07-17T21:29:00", "ExpectedExpiryDate": "2024-10-17T21:29:00" }, { "ReleaseId": 77777, "Platform": "Android", "Architecture": "arm64", "CVEs": [], "ProductVersion": "128.0.2707.0", "Artifacts": [], "PublishedTime": "2024-07-17T21:35:00", "ExpectedExpiryDate": "2024-10-17T21:35:00" }, { "ReleaseId": 77780, "Platform": "iOS", "Architecture": "arm64", "CVEs": [], "ProductVersion": "128.0.2707.0", "Artifacts": [], "PublishedTime": "2024-07-17T21:39:00", "ExpectedExpiryDate": "2024-10-17T21:39:00" } ] }, { "Product": "Canary", "Releases": [ { "ReleaseId": 77804, "Platform": "Android", "Architecture": "arm64", "CVEs": [], "ProductVersion": "128.0.2719.0", "Artifacts": [], "PublishedTime": "2024-07-18T09:22:00", "ExpectedExpiryDate": "2024-10-18T09:22:00" }, { "ReleaseId": 77993, "Platform": "MacOS", "Architecture": "universal", "CVEs": [], "ProductVersion": "128.0.2728.0", "Artifacts": [ { "ArtifactName": "plist", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/ce9bd898-2ecb-4580-ae68-22c597e0a53a/MicrosoftEdgeCanary-128.0.2728.0.plist", "Hash": "3318D33666E3A47FFBCC33AEC31FFADEB0DAC7D0A8D1CDEDE935FD546DC2D22A", "HashAlgorithm": "SHA256", "SizeInBytes": 3286 }, { "ArtifactName": "pkg", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/f8f25eba-f425-4780-a950-1102d023e946/MicrosoftEdgeCanary-128.0.2728.0.pkg", "Hash": "42FC2B291F562961884FBA582F2AF0509B30C841F82BE3DABE51310631BAAEDA", "HashAlgorithm": "SHA256", "SizeInBytes": 396782815 } ], "PublishedTime": "2024-07-22T12:30:00", "ExpectedExpiryDate": "2024-10-22T12:30:00" }, { "ReleaseId": 78000, "Platform": "Windows", "Architecture": "x64", "CVEs": [], "ProductVersion": "128.0.2729.0", "Artifacts": [], "PublishedTime": "2024-07-22T22:26:00", "ExpectedExpiryDate": "2024-10-22T20:11:00" }, { "ReleaseId": 78022, "Platform": "Windows", "Architecture": "arm64", "CVEs": [], "ProductVersion": "128.0.2730.0", "Artifacts": [], "PublishedTime": "2024-07-23T09:00:00", "ExpectedExpiryDate": "2024-10-23T05:49:00" }, { "ReleaseId": 78023, "Platform": "Windows", "Architecture": "x86", "CVEs": [], "ProductVersion": "128.0.2730.0", "Artifacts": [], "PublishedTime": "2024-07-23T09:22:00", "ExpectedExpiryDate": "2024-10-23T05:51:00" } ] }, { "Product": "EdgeUpdate", "Releases": [ { "ReleaseId": 77500, "Platform": "Windows", "Architecture": "x86", "CVEs": [], "ProductVersion": "1.3.193.5", "Artifacts": [ { "ArtifactName": "exe", "Location": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/5eea6acd-de06-44cb-8c27-89955912a28c/MicrosoftEdgeUpdateSetup_X86_1.3.193.5.exe", "Hash": "C3F6687B55CA40130067D38AF5488695A1987F622CDB9647FF8FE9A2FD1A61F0", "HashAlgorithm": "SHA256", "SizeInBytes": 1645016 } ], "PublishedTime": "2024-07-12T07:44:00", "ExpectedExpiryDate": "2025-07-12T07:44:00" } ] } ] ```

So it appears to be a problem with the MS API, not the script necessarily.

Update: using setup edge with macos-latest and windows-latest still work, as there are Edge installer artifacts for them. If your code could work on the other OS, that could be a temporary solution until MS API is fixed.