-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Individual workflows for each corretto version
Showing
5 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file pushes the choco package for Corretto-11 | ||
|
||
name: Corretto-11 choco push workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'corretto-jdk-11/corretto11jdk.nuspec' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: corretto-jdk-11 | ||
shell: powershell | ||
run: | | ||
cd corretto-jdk-11 | ||
choco pack | ||
choco upgrade corretto11jdk --source . | ||
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY | ||
env: | ||
CHOCO_KEY: ${{ secrets.CHOCO_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file pushes the choco package for Corretto-17 | ||
|
||
name: Corretto-17 choco push workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'corretto-jdk-17/corretto17jdk.nuspec' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: corretto-jdk-17 | ||
shell: powershell | ||
run: | | ||
cd corretto-jdk-17 | ||
choco pack | ||
choco upgrade corretto17jdk --source . | ||
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY | ||
env: | ||
CHOCO_KEY: ${{ secrets.CHOCO_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file pushes the choco package for Corretto-8 | ||
|
||
name: Corretto-8 choco push workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'corretto-jdk-8/corretto8jdk.nuspec' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: corretto-jdk-8 | ||
shell: powershell | ||
run: | | ||
cd corretto-jdk-8 | ||
choco pack | ||
choco upgrade corretto8jdk --source . | ||
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY | ||
env: | ||
CHOCO_KEY: ${{ secrets.CHOCO_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file pushes the choco package for Corretto Base version | ||
|
||
name: Corretto Base version choco push workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'corretto-jdk/correttojdk.nuspec' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: corretto-jdk | ||
shell: powershell | ||
run: | | ||
cd corretto-jdk | ||
choco pack | ||
choco upgrade correttojdk --source . | ||
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY | ||
env: | ||
CHOCO_KEY: ${{ secrets.CHOCO_KEY }} |