Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

ci: Resolve deprecation warnings in pipeline (#114)

Yakhyokhuja Valikhujaev73fc29193039
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index bbfca1b..a6f5fe1 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -30,6 +30,8 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
+ env:
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index e61981d..efa19a0 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -176,7 +176,7 @@ jobs:
run: twine upload dist/*
- name: Create GitHub Release
- uses: softprops/action-gh-release@v1
+ uses: softprops/action-gh-release@v2
with:
tag_name: v${{ inputs.version }}
files: dist/*
@@ -215,6 +215,8 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
+ env:
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site