Skip to content

Commit

Permalink
Added workflows for zulu 11,17,21 pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshastri committed Nov 11, 2023
1 parent 72c51e2 commit 5d11bcc
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/zulu-11-choco-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file pushes the choco package for zulu-11

name: Zulu-11 choco push workflow

on:
workflow_dispatch:
push:
paths:
- 'zulu-11/zulu-11.nuspec'

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: zulu-11
shell: powershell
run: |
cd zulu-11
choco pack
choco upgrade zulu11 --source .
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY
env:
CHOCO_KEY: ${{ secrets.CHOCO_KEY }}
25 changes: 25 additions & 0 deletions .github/workflows/zulu-17-choco-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file pushes the choco package for zulu-17

name: Zulu-17 choco push workflow

on:
workflow_dispatch:
push:
paths:
- 'zulu-17/zulu-17.nuspec'

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: zulu-17
shell: powershell
run: |
cd zulu-17
choco pack
choco upgrade zulu17 --source .
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY
env:
CHOCO_KEY: ${{ secrets.CHOCO_KEY }}
25 changes: 25 additions & 0 deletions .github/workflows/zulu-21-choco-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file pushes the choco package for zulu-21

name: Zulu-21 choco push workflow

on:
workflow_dispatch:
push:
paths:
- 'zulu-21/zulu-21.nuspec'

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: zulu-21
shell: powershell
run: |
cd zulu-21
choco pack
choco upgrade zulu21 --source .
choco push --source https://push.chocolatey.org/ -k $env:CHOCO_KEY
env:
CHOCO_KEY: ${{ secrets.CHOCO_KEY }}

0 comments on commit 5d11bcc

Please sign in to comment.