Skip to content

Commit

Permalink
update all the actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cgytrus authored Feb 6, 2024
1 parent 52f1073 commit bb5fcb6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/hdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
steps:
- name: Restore cached hdoc binary
id: hdoc-cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: build
key: ${{ env.HDOC_VERSION }}


- name: Checkout hdoc repo
if: steps.hdoc-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'hdoc/hdoc'
ref: ${{ env.HDOC_VERSION }}
Expand All @@ -37,13 +37,13 @@ jobs:
- name: Upload hdoc binary to cache
if: steps.hdoc-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: build
key: ${{ env.HDOC_VERSION }}

- name: Upload hdoc binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hdoc
path: build/hdoc
Expand All @@ -53,13 +53,13 @@ jobs:
needs: build-hdoc
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get compile_commands.json
run: CMAKE_EXPORT_COMPILE_COMMANDS=1 cmake -B build

- name: Download hdoc binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: hdoc

Expand All @@ -73,7 +73,7 @@ jobs:
./hdoc --verbose
- name: Upload docs
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: doc-build/

Expand Down

0 comments on commit bb5fcb6

Please sign in to comment.