ci: use latest tagged @helia/interop version
Jorropo committed
Jan 16, 2024 at 13:57 UTC
35ad4aee7fead1a5a22400d1dc99685094fee898
1 file changed
+3
-4
.github/workflows/build.yml
+3
-4
@@ -73,13 +73,12 @@ jobs:
73
- uses: actions/checkout@v4
74
with:
75
repository: ipfs/helia
76
- fetch-depth: 1
76
+ fetch-depth: 0
77
path: interop
78
- ref: 'ea5533c794df844c9fb9812e85e2f5e6af09efeb' # temporary while this commit is being released
78
+ ref: 'main'
79
- name: Checkout latest tag
80
run: |
81
- exit 0 # temporary while ea5533c794df844c9fb9812e85e2f5e6af09efeb is released
82
- export TAG="$(git describe --tags --abbrev=0)"
81
+ export TAG="$(git tag | grep "^interop-" | sort --version-sort --reverse | head -n1)"
82
echo "Running tests against: $TAG"
83
git checkout "$TAG"
84
working-directory: interop