Skip to content

Commit

Permalink
CI: update github pages action versions
Browse files Browse the repository at this point in the history
This commit updates the github pages actions to versions which use
supported nodejs versions and are generally up to date.
This fixes all the warnings in the github actions panel.
  • Loading branch information
wirew0rm committed Sep 11, 2024
1 parent c2b2b26 commit d2d22dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ jobs:
run: cmake --build . --target opendigitizer_coverage

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: "Fetch cors header workaround" # we're unable to set custom headers on github pages, workaround according to: https://stackoverflow.com/a/68675301
run: |
npm i --save coi-serviceworker
cp node_modules/coi-serviceworker/coi-serviceworker.js ../build/CMakeExternals/Build/ui-wasm/web/
sed -e "s%</style>%</style><script src=\"coi-serviceworker.js\"></script>%" -i ../build/CMakeExternals/Build/ui-wasm/web/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: '../build/CMakeExternals/Build/ui-wasm/web/'

Expand All @@ -126,7 +126,7 @@ jobs:
needs: build
steps:
- name: "Setup Pages"
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: "Deploy to pages"
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit d2d22dd

Please sign in to comment.