File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments