We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e37064 commit 0280dc5Copy full SHA for 0280dc5
.github/workflows/docs.yaml
@@ -24,6 +24,13 @@ jobs:
24
path: build/dokka
25
- name: Generate Docs with Dokka
26
run: ./gradlew dokkaHtmlMultiModule
27
+ - name: Create symlink to latest version
28
+ run: |
29
+ cd build/dokka
30
+ latestVersion=$(for n in *; do printf '%s\n' "$n"; done | sort | grep -E "^[0-9]+\.[0-9]+" | tail -n1)
31
+ if [[ -z "${latestVersion}" ]]; then
32
+ ln -sf ${latestVersion} latest
33
+ fi
34
- name: Publish to GitHub Pages
35
uses: peaceiris/actions-gh-pages@v3
36
with:
0 commit comments