Skip to content

Commit e35ea47

Browse files
authored
Compile libsodum from stable branch
See comment in the workflow file for more info
1 parent f439178 commit e35ea47

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/sodium.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,25 @@ jobs:
2727
repository: jedisct1/libsodium
2828
submodules: recursive
2929

30+
# - name: Checkout latest Tag
31+
# id: print-version
32+
# shell: bash
33+
# run: |
34+
# git fetch --tags
35+
# LATEST_TAG=$(git tag --sort=-v:refname | head -1)
36+
# git checkout "$LATEST_TAG"
37+
# VERSION="${LATEST_TAG%-RELEASE}"
38+
# VERSION="${VERSION%-FINAL}"
39+
# echo "version=$VERSION" >> $GITHUB_OUTPUT
40+
41+
# 1.0.21 is broken, there is no 1.0.22 (yet), main dev says 'just clone stable': https://github.com/jedisct1/libsodium/issues/1509 and https://github.com/jedisct1/libsodium/issues/1502
3042
- name: Checkout latest Tag
3143
id: print-version
3244
shell: bash
3345
run: |
34-
git fetch --tags
35-
LATEST_TAG=$(git tag --sort=-v:refname | head -1)
36-
git checkout "$LATEST_TAG"
37-
VERSION="${LATEST_TAG%-RELEASE}"
38-
VERSION="${VERSION%-FINAL}"
39-
echo "version=$VERSION" >> $GITHUB_OUTPUT
46+
git fetch
47+
git checkout stable
48+
echo "version=1.0.21" >> $GITHUB_OUTPUT
4049
4150
- name: Install Visual Studio 2022 Build Tools
4251
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)