ci: fix RC security gate packaging and artifacts
Security Quality Gate / npm audit, Bandit, pip-audit, detect-secrets (pull_request) Failing after 17m49s
Security Quality Gate / npm audit, Bandit, pip-audit, detect-secrets (pull_request) Failing after 17m49s
This commit is contained in:
@@ -114,10 +114,18 @@ jobs:
|
||||
fi
|
||||
exit "$failed"
|
||||
|
||||
- name: Upload security scan artifacts
|
||||
if: always()
|
||||
- name: Upload security scan artifacts (GitHub)
|
||||
if: ${{ always() && github.server_url == 'https://github.com' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: security-quality-gate
|
||||
path: security-artifacts/
|
||||
if-no-files-found: warn
|
||||
|
||||
- name: Upload security scan artifacts (Gitea/GHES)
|
||||
if: ${{ always() && github.server_url != 'https://github.com' }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: security-quality-gate
|
||||
path: security-artifacts/
|
||||
if-no-files-found: warn
|
||||
|
||||
@@ -11,3 +11,6 @@ dependencies = [
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/yuqei_sdk"]
|
||||
|
||||
Reference in New Issue
Block a user