Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Docs ci condition on latest link #5615

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7f0a1e8
Added two lines for setting latest directory
stanbrub Jun 12, 2024
72509a0
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jun 12, 2024
336fa74
Added version var to parse ref_branch
stanbrub Jun 12, 2024
64ede56
Added Git Setup Action
stanbrub Jun 12, 2024
dc987f2
Added tag fetch
stanbrub Jun 13, 2024
873c798
Upsert remote upstream
stanbrub Jun 14, 2024
e8551e1
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jun 14, 2024
f309558
Use Fetch tag instead of git command
stanbrub Jun 14, 2024
8ec4812
Update docs-ci.yml
stanbrub Jun 17, 2024
dc459f7
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jun 24, 2024
4726fe4
Removed temp tag and used bash sort version
stanbrub Jun 24, 2024
5fbc8a1
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jun 24, 2024
1776921
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jun 25, 2024
32dffc6
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jan 6, 2025
4244e72
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jan 7, 2025
57b0f95
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jan 24, 2025
f82668b
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Jan 29, 2025
a5842c2
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Feb 4, 2025
9ca155c
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Feb 7, 2025
c4dbf17
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Feb 7, 2025
82e956f
Merge branch 'deephaven:main' into docs-ci-condition-on-latest-link
stanbrub Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,19 @@ jobs:
needs: [javadoc, typedoc, pydoc, cppdoc, rdoc, protodoc]
runs-on: ubuntu-24.04
steps:
- name: Setup Git
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fixes Bug: https://github.com/actions/checkout/issues/1471
fetch-tags: true

- name: Make Symlinks
run: |
VERSION=$(basename ${{ github.ref_name }})
LATEST=$((git tag -l && echo "${VERSION}") | grep -E '^v[0-9]+([.][0-9]+){2}$' | sort --version-sort | tail -1)
mkdir -p tmp-deephaven-core-v2/symlinks
cd tmp-deephaven-core-v2/symlinks
ln -s ../${{ github.ref_name }} latest
ln -s ../release/${LATEST} latest
ln -s ../main next

- name: Deploy Symlinks
Expand Down
Loading