Skip to content

Commit

Permalink
Bump JDK in script
Browse files Browse the repository at this point in the history
Signed-off-by: DHD2280 <[email protected]>
  • Loading branch information
DHD2280 committed Nov 15, 2024
1 parent b242f82 commit 33015b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/makeRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Source Code Download
run: git clone --branch stable --single-branch --recurse-submodules https://github.com/DHD2280/Oxygen-Customizer.git .

- name: JDK 17 Setup
- name: JDK 21 Setup
uses: actions/[email protected]
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand Down Expand Up @@ -76,10 +76,10 @@ jobs:
run: |
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": ${{ secrets.OC_CHANNEL }}, "text": "'"$(${{ env.TMessage }})"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/Oxygen-Customizer/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage
-d '{"chat_id": ${{ secrets.OC_CHANNEL }}, "text": "'"$(cat telegram.msg)"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/Oxygen-Customizer/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage
- name: Telegram Channel Post
run: |
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": ${{ secrets.OC_CHANNEL2 }}, "text": "'"$(${{ env.TMessage }})"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/Oxygen-Customizer/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage
-d '{"chat_id": ${{ secrets.OC_CHANNEL2 }}, "text": "'"$(cat telegram.msg)"'", "parse_mode": "Markdown", "reply_markup": {"inline_keyboard": [[{"text":"Download", "url": "https://www.github.com/DHD2280/Oxygen-Customizer/releases/download/"${{ github.ref }}"/OxygenCustomizer.apk"}]]}' https://api.telegram.org/bot${{ secrets.TELEGRAM_TK }}/sendMessage

0 comments on commit 33015b9

Please sign in to comment.