Skip to content

Corretto version update on Tue Apr 16 20:12:35 UTC 2024 #12

Corretto version update on Tue Apr 16 20:12:35 UTC 2024

Corretto version update on Tue Apr 16 20:12:35 UTC 2024 #12

# This file pushes the choco package for Corretto-21
name: Corretto-21 choco push workflow
on:
workflow_dispatch:
push:
paths:
- 'corretto-jdk-21/corretto21jdk.nuspec'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: corretto-jdk-21
shell: powershell
run: |
cd corretto-jdk-21
choco pack
choco upgrade corretto21jdk --source .
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY
env:
CHOCO_KEY: ${{ secrets.CHOCO_KEY }}