Skip to content

Commit b7b7193

Browse files
committed
ci: temporarly fix wolfssl tag as master broke testing
1 parent 3a91704 commit b7b7193

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,25 @@ jobs:
2222
- name: List compiler version
2323
run: gcc --version
2424

25-
# pull and build wolfssl
25+
# get last release version fo wolfssl
26+
- name: Get latest wolfssl release tag
27+
uses: actions/github-script@v7
28+
id: latest-release
29+
with:
30+
script: |
31+
const release = await github.rest.repos.getLatestRelease({
32+
owner: 'wolfssl',
33+
repo: 'wolfssl'
34+
});
35+
return release.data.tag_name;
36+
result-encoding: string
37+
2638
- name: Checkout wolfssl
2739
uses: actions/checkout@v4
2840
with:
2941
repository: wolfssl/wolfssl
30-
path: wolfssl
42+
ref: ${{ steps.latest-release.outputs.result }}
43+
path: wolfssl # pull and build wolfssl
3144

3245
# Build and test standard build
3346
- name: Build and test

0 commit comments

Comments
 (0)