Skip to content

Commit

Permalink
test new github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Dwairi committed Jul 3, 2024
1 parent f4859e4 commit c15334e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ jobs:
git fetch --all
git checkout mdwairi/support-multimodule-versioning
- name: move old versions to code
run: |
mv ${{ runner.temp }}/older code/older
ls code/older
- name: whats in 4.1.1
run: ls code/older/4.1.1

Expand All @@ -72,7 +67,7 @@ jobs:
- name: Generate new docs
run: |
cd code
mvn dokka:dokka
mvn dokka:dokka -Ddokka-old-versions.location=${{ runner.temp }}/older
- name: list new content
run: ls -a code/target/dokka
Expand Down
4 changes: 2 additions & 2 deletions code/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@
<pluginsConfiguration>
<org.jetbrains.dokka.versioning.VersioningPlugin>
<version>${project.version}</version>
<olderVersionsDir>older</olderVersionsDir>
<olderVersionsDir>${dokka-old-versions.location}</olderVersionsDir>
</org.jetbrains.dokka.versioning.VersioningPlugin>
</pluginsConfiguration>
<suppressInheritedMembers>true</suppressInheritedMembers>
Expand Down Expand Up @@ -815,7 +815,7 @@
<pluginsConfiguration>
<org.jetbrains.dokka.versioning.VersioningPlugin>
<version>${project.version}</version>
<olderVersionsDir>older</olderVersionsDir>
<olderVersionsDir>${dokka-old-versions.location}</olderVersionsDir>
</org.jetbrains.dokka.versioning.VersioningPlugin>
</pluginsConfiguration>
</configuration>
Expand Down

0 comments on commit c15334e

Please sign in to comment.