feat: #1538 backend store user privilege change audit records #1578
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auth function artifact | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "server/**" | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "server/**" | |
jobs: | |
auth-function-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Auth function zip | |
run: | | |
mkdir auth_function_packaging | |
rsync -r server/auth_function/* auth_function_packaging -F --exclude=requirements.txt --exclude=test --exclude=requirements-dev.txt | |
pip install -t auth_function_packaging -r server/auth_function/requirements.txt -r server/auth_function/requirements-dev.txt | |
cd auth_function_packaging | |
zip -r9 ../infrastructure/server/fam_auth_function.zip . | |
cd .. | |
rm -rf auth_function_packaging | |
- name: Auth function upload zip file artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: fam-auth-function-zip | |
path: ./infrastructure/server/fam_auth_function.zip | |
if-no-files-found: error |