Skip to content

Commit

Permalink
Change java 11 to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Dec 16, 2024
1 parent 2ec3da0 commit 44c5e23
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/weekly_cd.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Weekly CD

on:
schedule:
- cron: '0 15 * * 0'
push:
branches: [ "fix/weekly_cd" ]
# schedule:
# - cron: '0 15 * * 0'

jobs:
deploy:
Expand All @@ -12,11 +14,11 @@ jobs:
with:
ref: 'develop'

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Make gradlew executable
run: chmod +x ./gradlew
Expand Down Expand Up @@ -93,12 +95,12 @@ jobs:
--release-notes "${{ steps.date.outputs.time }} - develop" \
--debug
- name: Upload to Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: Android Weekly Dev Deploy
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()
# - name: Upload to Slack
# uses: 8398a7/action-slack@v3
# with:
# status: ${{ job.status }}
# author_name: Android Weekly Dev Deploy
# fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# if: always()

0 comments on commit 44c5e23

Please sign in to comment.