Skip to content

Commit 14c70cf

Browse files
RahulHereRahulHere
authored andcommitted
Improve workflow to use separate gopher-orch version for native binaries
The SDK version (0.1.2.1) may differ from gopher-orch version (0.1.2). Added GOPHER_ORCH_VERSION env variable to specify which release to download.
1 parent 991c256 commit 14c70cf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish-packages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ permissions:
1010
env:
1111
# Version is read from pyproject.toml - update with: python scripts/update_version.py <version>
1212
DRY_RUN: 'false'
13+
# gopher-orch version to download native binaries from (may differ from SDK version)
14+
GOPHER_ORCH_VERSION: 'v0.1.2'
1315

1416
jobs:
1517
download-binaries:
@@ -57,7 +59,8 @@ jobs:
5759
GH_TOKEN: ${{ secrets.GOPHER_ORCH_TOKEN }}
5860
run: |
5961
# Download all assets from the private gopher-orch repo
60-
gh release download ${{ steps.version.outputs.version_tag }} \
62+
# Uses GOPHER_ORCH_VERSION which may differ from SDK version
63+
gh release download ${{ env.GOPHER_ORCH_VERSION }} \
6164
-R GopherSecurity/gopher-orch \
6265
-D downloads
6366

0 commit comments

Comments
 (0)