WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 91ba1db

Browse files
chore: ignore dev deps in build job
1 parent 7653b19 commit 91ba1db

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -646,23 +646,6 @@ jobs:
646646
id: pip-cache
647647
run: |
648648
echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT"
649-
- name: Run Check there are libraries to scan
650-
id: checklibs
651-
run: if [ -f dev_deps/requirements_dev.txt ]; then echo "ENABLED=true" >> "$GITHUB_OUTPUT"; fi
652-
- name: pip cache
653-
if: ${{ steps.checklibs.outputs.ENABLED == 'true' }}
654-
uses: actions/cache@v4
655-
with:
656-
path: ${{ steps.pip-cache.outputs.dir }}
657-
key: ${{ runner.os }}-pip-${{ hashFiles('dev_deps/requirements_dev.txt') }}
658-
restore-keys: |
659-
${{ runner.os }}-pip-
660-
- name: Install deps
661-
if: ${{ steps.checklibs.outputs.ENABLED == 'true' }}
662-
run: |
663-
git config --global --add url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf https://github.com
664-
git config --global --add url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf ssh://[email protected]
665-
python -m pip install -r dev_deps/requirements_dev.txt
666649
- name: Semantic Release Get Next
667650
id: semantic
668651
if: github.event_name != 'pull_request'
@@ -861,17 +844,6 @@ jobs:
861844
- id: pip-cache
862845
run: |
863846
echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT"
864-
- name: pip cache
865-
uses: actions/cache@v4
866-
with:
867-
path: ${{ steps.pip-cache.outputs.dir }}
868-
key: ${{ runner.os }}-pip-python3_9-${{ hashFiles('requirements_dev.txt') }}
869-
restore-keys: |
870-
${{ runner.os }}-pip-python3_9
871-
- run: |
872-
git config --global --add url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf https://github.com
873-
git config --global --add url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf ssh://[email protected]
874-
python -m pip install -r dev_deps/requirements_dev.txt
875847
- id: semantic
876848
if: github.event_name != 'pull_request'
877849
uses: splunk/[email protected]

0 commit comments

Comments
 (0)