Skip to content

Commit

Permalink
2 in 1 action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitiz-Mhto committed Mar 18, 2023
1 parent 9ca64fe commit 5a614dc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-n-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
pwd
ls
- name: Scan for vulnerabilities
working-directory: ./ecommerce-website-django
# working-directory: ./ecommerce-website-django
run: |
wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64
chmod +x ./osv-scanner_1.2.0_linux_amd64
./osv-scanner_1.2.0_linux_amd64 requirements.txt
./osv-scanner_1.2.0_linux_amd64 -r .
- name: Scan for vulnerabilities
working-directory: ./epl-board
run: |
wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64
chmod +x ./osv-scanner_1.2.0_linux_amd64
./osv-scanner_1.2.0_linux_amd64 requirements.txt
# - name: Scan for vulnerabilities
# working-directory: ./epl-board
# run: |
# wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64
# chmod +x ./osv-scanner_1.2.0_linux_amd64
# ./osv-scanner_1.2.0_linux_amd64 requirements.txt

- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.8.1
Expand Down

0 comments on commit 5a614dc

Please sign in to comment.