File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 23
23
working-directory : ./server
24
24
run : ./mvnw --batch-mode --update-snapshots package
25
25
26
- build :
26
+ build-images :
27
27
needs : test
28
28
runs-on : ubuntu-latest
29
29
steps :
@@ -36,14 +36,18 @@ jobs:
36
36
mkdir .ansible
37
37
echo "${{ secrets.ANSIBLE_VAULT_KEY }}" > .ansible/vault_key
38
38
39
- - name : Install Python requirements
40
- run : pip install -r requirements.txt
39
+ - uses : actions/setup-python@v4
40
+ with :
41
+ python-version : " 3.9"
42
+ cache : " pip" # caching pip dependencies
43
+ - run : pip install -r requirements.txt
44
+
45
+ -
uses :
buildpacks/github-actions/[email protected]
41
46
42
- - name : Build Docker images
43
- run : python scripts/build.py ${{ secrets.GITHUB_TOKEN }}
47
+ - run : python scripts/build.py ${{ secrets.GITHUB_TOKEN }}
44
48
45
49
deploy :
46
- needs : build
50
+ needs : build-images
47
51
runs-on : ubuntu-latest
48
52
steps :
49
53
- uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments