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 2, 2024
1 parent 19ea6dd commit 2ade8a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ jobs:
- name: list workspace content
run: ls ${{ runner.temp }}/older

- name: move old versions to code
run: mv ${{ runner.temp }}/older code/older

- name: Generate new docs
run: mvn -f code dokka:dokka -Ddokka-old-versions.location=${{ runner.temp }}/older
run: mvn -f code dokka:dokka

- name: list new content
run: ls 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>${dokka-old-versions.location}</olderVersionsDir>
<olderVersionsDir>${project.basedir}</olderVersionsDir>
</org.jetbrains.dokka.versioning.VersioningPlugin>
</pluginsConfiguration>
<suppressInheritedMembers>true</suppressInheritedMembers>
Expand Down Expand Up @@ -810,7 +810,7 @@
<pluginsConfiguration>
<org.jetbrains.dokka.versioning.VersioningPlugin>
<version>${project.version}</version>
<olderVersionsDir>${dokka-old-versions.location}</olderVersionsDir>
<olderVersionsDir>${project.basedir}</olderVersionsDir>
</org.jetbrains.dokka.versioning.VersioningPlugin>
</pluginsConfiguration>
</configuration>
Expand Down

0 comments on commit 2ade8a7

Please sign in to comment.