Skip to content

Commit b748fbb

Browse files
authored
Also apply using stable branch to the alpine-musl build
1 parent e35ea47 commit b748fbb

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/sodium.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,24 @@ jobs:
118118
repository: jedisct1/libsodium
119119
submodules: recursive
120120

121+
# - name: Checkout latest Tag
122+
# shell: bash
123+
# run: |
124+
# git fetch --tags
125+
# LATEST_TAG=$(git tag --sort=-v:refname | head -1)
126+
# git checkout "$LATEST_TAG"
127+
# VERSION="${LATEST_TAG%-RELEASE}"
128+
# VERSION="${VERSION%-FINAL}"
129+
# echo "version=$VERSION" >> $GITHUB_OUTPUT
130+
121131
- name: Checkout latest Tag
132+
id: print-version
122133
shell: bash
123134
run: |
124-
git fetch --tags
125-
LATEST_TAG=$(git tag --sort=-v:refname | head -1)
126-
git checkout "$LATEST_TAG"
127-
VERSION="${LATEST_TAG%-RELEASE}"
128-
VERSION="${VERSION%-FINAL}"
129-
echo "version=$VERSION" >> $GITHUB_OUTPUT
130-
135+
git fetch
136+
git checkout stable
137+
echo "version=1.0.21" >> $GITHUB_OUTPUT
138+
131139
- name: Setup Alpine Linux for x64
132140
uses: jirutka/setup-alpine@v1
133141
with:

0 commit comments

Comments
 (0)