mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-04 14:03:59 +01:00
ci(gitea): pin the artifact actions to v3
The first Gitea run built cleanly all the way through -- depends, wowlet.exe, staging -- and then died on the last step: ::error::@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES. Gitea Actions implements the older artifact protocol, so the v4 actions (which use @actions/artifact v2) refuse to talk to it. Hash Bags' Windows lane already uses v3 for the same reason. Pinned with a comment so nobody upgrades it back and loses a 22 minute build to the same error.
This commit is contained in:
@@ -135,7 +135,10 @@ jobs:
|
||||
ls -la stage stage/tor
|
||||
|
||||
- name: upload unsigned staging tree
|
||||
uses: actions/upload-artifact@v4
|
||||
# v3, not v4: Gitea Actions implements the older artifact protocol and
|
||||
# rejects @actions/artifact v2 clients with
|
||||
# "GHESNotSupportedError ... not currently supported on GHES".
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wowlet-x86_64-windows-unsigned
|
||||
path: stage/
|
||||
@@ -147,7 +150,7 @@ jobs:
|
||||
runs-on: windows # gitea label windows:host -> desktop-iim2fs2
|
||||
steps:
|
||||
- name: download unsigned staging tree
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: wowlet-x86_64-windows-unsigned
|
||||
path: stage
|
||||
@@ -209,7 +212,7 @@ jobs:
|
||||
Get-ChildItem 'wowlet-x86_64-windows.zip' | Format-List Name, Length
|
||||
|
||||
- name: upload signed Windows zip
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wowlet-x86_64-windows
|
||||
path: wowlet-x86_64-windows.zip
|
||||
|
||||
Reference in New Issue
Block a user