Skip to content

Commit e88f795

Browse files
committed
Fix the build pipeline
1 parent fb3a302 commit e88f795

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_pipeline.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v1
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-python@v5
1111
with:
12-
python-version: 3.7
13-
- uses: actions/cache@v1
12+
python-version: 3.8
13+
- uses: actions/cache@v4
1414
with:
1515
path: ~/.cache/pip
1616
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -76,7 +76,7 @@ jobs:
7676
aws s3 cp app.zip "s3://$AWS_S3_CODE_BUCKET/$repo_slug.zip"
7777
- name: Send build success notification
7878
if: success()
79-
uses: rtCamp/action-slack-notify@v2.0.0
79+
uses: rtCamp/action-slack-notify@v2.2.0
8080
env:
8181
SLACK_MESSAGE: ${{ github.repository }} build ${{ github.run_number }} launched by ${{ github.actor }} has succeeded
8282
SLACK_TITLE: Build Success
@@ -86,7 +86,7 @@ jobs:
8686
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
8787
- name: Send build failure notification
8888
if: failure()
89-
uses: rtCamp/action-slack-notify@v2.0.0
89+
uses: rtCamp/action-slack-notify@v2.2.0
9090
env:
9191
SLACK_COLOR: '#FF0000'
9292
SLACK_MESSAGE: ${{ github.repository }} build ${{ github.run_number }} launched by ${{ github.actor }} has failed

0 commit comments

Comments
 (0)